1 (edited by toxic 2016-04-01 16:41:18)

Topic: Enable bounces for virus mails

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Linux/BSD distribution name and version: Scientific Linux release 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====

Hi,

How can i disable the bounce suppression for virus mails ?
I would like to notify the sender that his mail has been rejected because it contains a virus.

Currently my log looks like this:

Apr  1 10:33:50 mx02 postfix/smtp[27524]: 883102BE8: to=<###>, relay=127.0.0.1[127.0.0.1]:10024, delay=25, delays=25/0/0/0.25, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=27624-02, DISCARD(bounce.suppressed))

----

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

2

Re: Enable bounces for virus mails

I only found this option in amavis but it seems to be disabled

Variable $warnvirussender was retired, changing its value has no effect

final_virus_destiny is already set to BOUNCE

3

Re: Enable bounces for virus mails

Warn virus sender is not a good idea, because usually it's sent by external users. Instead of notifying sender, you can quarantine the virus email into SQL database and manage them with iRedAdmin-Pro:
FYI: http://www.iredmail.org/docs/quarantining.html

if you want to warn sender, update Amavisd config file with setting below:

$final_virus_destiny = D_BOUNCE;