1 (edited by Frankstar 2013-03-22 05:35:12)

Topic: Amavis "virusalert@example.com" problem / Info

==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Linux/BSD distribution name and version:  Centos 6.3
- Related log if you're reporting an issue:
====


in "/etc/amavisd.conf" are some "example.com" entrys

$mydomain = 'example.com';   # a convenient default for other settings

so this

virus_admin_maps => ["virusalert\@$mydomain"],
spam_admin_maps  => ["virusalert\@$mydomain"],

will fail.
Cause he send emails to virusalert@example.com

see maillog:

Mar 21 22:24:54 mail postfix/qmgr[2136]: 5D58D600CC: from=<virusalert@example.com>, size=2696, nrcpt=1 (queue active)
Mar 21 22:25:24 mail postfix/smtp[24282]: connect to example.com[192.0.43.10]:25: Connection timed out
Mar 21 22:25:24 mail postfix/smtp[24282]: 5D58D600CC: to=<virusalert@example.com>, relay=none, delay=54974, delays=54944/0.01/30/0, dsn=4.4.1, status=deferred (connect to example.com[192.0.43.10]:25: Connection timed out)

maybe iredmail setup should change this to "first domain"
and create a virusalert Mail User, or change it to postmaster.

regards,

Franky

----

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

2

Re: Amavis "virusalert@example.com" problem / Info

Thanks for your feedback.
The ideal way is creating an alias entry in Postfix (/etc/postfix/aliases), then all notifications sent to virusalert@example.com will be forwarded to root user.

Fixed in development edition moment ago, here's commit log:
https://bitbucket.org/zhb/iredmail/comm … 2867cadd75