1 (edited by robfantini 2011-03-05 22:34:24)

Topic: 1-st user i setup does not get mail

Hello

at iRedMail panel , i added a user.

at cli i sent a mail . the result in mail.log:

Mar  5 14:07:00 mail postfix/pickup[19506]: 6784C16EA8C2: uid=0 from=<root>
Mar  5 14:07:00 mail postfix/cleanup[1765]: 6784C16EA8C2: message-id=<20110305140700.6784C16EA8C2@mail.fantinibakery.com>
Mar  5 14:07:00 mail postfix/qmgr[24193]: 6784C16EA8C2: from=<root@mail.fantinibakery.com>, size=322, nrcpt=1 (queue active)
Mar  5 14:07:00 mail postfix/local[1770]: 6784C16EA8C2: to=<rob5@mail.fantinibakery.com>, relay=local, delay=0.05, delays=0.04/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "rob5")
Mar  5 14:07:00 mail postfix/cleanup[1765]: 6F4B116EA8C3: message-id=<20110305140700.6F4B116EA8C3@mail.fantinibakery.com>
Mar  5 14:07:00 mail postfix/qmgr[24193]: 6F4B116EA8C3: from=<>, size=2158, nrcpt=1 (queue active)
Mar  5 14:07:00 mail postfix/bounce[1771]: 6784C16EA8C2: sender non-delivery notification: 6F4B116EA8C3
Mar  5 14:07:00 mail postfix/qmgr[24193]: 6784C16EA8C2: removed

here is the ldif entry exported from the panel

dn: mail=rob5@fantinibakery.com,ou=Users,domainName=fantinibakery.com,o=domains,dc=fantinibakery,dc=com
accountStatus: active
amavisLocal: TRUE
cn: rob5
employeeNumber: 9300
enabledService: mail
enabledService: deliver
enabledService: smtp
enabledService: smtpsecured
enabledService: pop3
enabledService: pop3secured
enabledService: imap
enabledService: imapsecured
enabledService: managesieve
enabledService: managesievesecured
enabledService: sieve
enabledService: sievesecured
enabledService: forward
enabledService: senderbcc
enabledService: recipientbcc
enabledService: internal
enabledService: shadowaddress
enabledService: displayedInGlobalAddressBook
homeDirectory: /var/vmail/vmail1/fantinibakery.com/r/o/b/rob5-2011.03.05.13.46.11/
mail: rob5@fantinibakery.com
mailMessageStore: vmail1/fantinibakery.com/r/o/b/rob5-2011.03.05.13.46.11/
mailQuota: 524288000
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
sn: rob5
storageBaseDirectory: /var/vmail
uid: rob5
userPassword: {SSHA}aAKm49x7ZovTMmcl7g5Bo0q6w7KzzawgE7yNCQ==

We are using  Debian Squeeze.  it is a fresh netinst with only iRedMail installed.

Any suggestions to fix this?

Thanks

2

Re: 1-st user i setup does not get mail

note from cli i can send mail to www@fantinibakery.com

so mail partly works, at least for  www@fantinibakery.com  which was setup during the install


Mar  5 14:31:16 mail postfix/pickup[11996]: D028A16EA8C3: uid=0 from=<root>
Mar  5 14:31:16 mail postfix/cleanup[11846]: D028A16EA8C3: message-id=<20110305143116.D028A16EA8C3@mail.fantinibakery.com>
Mar  5 14:31:16 mail postfix/qmgr[24193]: D028A16EA8C3: from=<root@mail.fantinibakery.com>, size=320, nrcpt=1 (queue active)
Mar  5 14:31:16 mail postfix/pipe[11853]: D028A16EA8C3: to=<www@fantinibakery.com>, relay=dovecot, delay=0.07, delays=0.04/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Mar  5 14:31:16 mail postfix/qmgr[24193]: D028A16EA8C3: removed

3

Re: 1-st user i setup does not get mail

How did you send mail in command line? Seems you didn't type full email address in command line, and it picked up server hostname as mail domain name: rob5 @mail.fantinibakery.com.

And your LDIF shows it should be rob5 @fantinibakery.com

Also, it's better to hide/remove/replace value of LDAP attribute "userPassword" in forum post.

4 (edited by robfantini 2011-03-05 23:40:21)

Re: 1-st user i setup does not get mail

ZhangHuangbin wrote:

How did you send mail in command line? Seems you didn't type full email address in command line, and it picked up server hostname as mail domain name: rob5 @mail.fantinibakery.com.

i tried:
  mail rob5@mail.fantinibakery.com  and
mail rob5   and rob5@fantinibakery.com


And your LDIF shows it should be rob5 @fantinibakery.com

yep

Also, it's better to hide/remove/replace value of LDAP attribute "userPassword" in forum post.

I agree, but this is totally testing account and server.

5

Re: 1-st user i setup does not get mail

robfantini wrote:

rob5@fantinibakery.com

solved

Mar  5 15:40:41 mail postfix/pickup[11996]: 2BA7216EA8C2: uid=0 from=<root>
Mar  5 15:40:41 mail postfix/cleanup[29734]: 2BA7216EA8C2: message-id=<20110305154041.2BA7216EA8C2@mail.fantinibakery.com>
Mar  5 15:40:41 mail postfix/qmgr[24193]: 2BA7216EA8C2: from=<root@mail.fantinibakery.com>, size=317, nrcpt=1 (queue active)
Mar  5 15:40:41 mail postfix/pipe[29738]: 2BA7216EA8C2: to=<rob5@fantinibakery.com>, relay=dovecot, delay=0.09, delays=0.03/0.01/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
Mar  5 15:40:41 mail postfix/qmgr[24193]: 2BA7216EA8C2: removed

I had a typo when i 1-st tested it.

6

Re: 1-st user i setup does not get mail

Excuse me, does "mail rob5@fantinibakery.com" work for you?

7

Re: 1-st user i setup does not get mail

If you want just delete this thread, it is a waste of time for other to read it.  sorry for the inconvenience!