1

Topic: bounced system mail

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (MySQL):
- Linux/BSD distribution name and version: Ubuntu LTF precise
- Related log if you're reporting an issue:
====
Hi Hope someone can help,
It appears that root and amavis are trying to send mail to root (alias postmaster) but this is being bounced. All users are present when cat /etc/passwd.
How can I fix this bouncing?
System otherwise works perfectly. mail can be received and sent internally and externally by roundcube users.
Many thanks

May 13 05:01:01 mail postfix/pickup[3424]: 53E57118171E: uid=112 from=<amavis>
May 13 05:01:01 mail postfix/cleanup[3493]: 53E57118171E: message-id=<20140513040101.53E57118171E@mail.mydomain.com>
May 13 05:01:01 mail postfix/qmgr[1933]: 53E57118171E: from=<amavis@mydomain.com>, size=642, nrcpt=1 (queue active)
May 13 05:01:01 mail postfix/pipe[3501]: 53E57118171E: to=<amavis@mydomain.com>, relay=dovecot, delay=0.18, delays=0.11/0.01/0/0.06, dsn=5.1.1, status=bounced (user unknown)
May 13 05:01:01 mail postfix/cleanup[3493]: 72FB01181731: message-id=<20140513040101.72FB01181731@mail.mydomain.com>
May 13 05:01:01 mail postfix/bounce[3503]: 53E57118171E: sender non-delivery notification: 72FB01181731
May 13 05:01:01 mail postfix/qmgr[1933]: 72FB01181731: from=<>, size=2424, nrcpt=1 (queue active)
May 13 05:01:01 mail postfix/qmgr[1933]: 53E57118171E: removed
May 13 05:01:01 mail postfix/pipe[3501]: 72FB01181731: to=<amavis@mydomain.com>, relay=dovecot, delay=0.12, delays=0.07/0/0/0.05, dsn=5.1.1, status=bounced (user unknown)
May 13 05:01:01 mail postfix/qmgr[1933]: 72FB01181731: removed

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: bounced system mail

You can create an alias for system accounts (amavisd and root user in your case) in Postfix (/etc/postfix/aliases), then all emails sent to them will be sent to the alias account. For example:

# File: /etc/postfix/aliases
amavisd: postmaster@my_domain.com

After updated this file, please execute below command to make it work:

# postalias /etc/postfix/aliases