1

Topic: Disable notification mails for quarantined mails

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

Is there a possibility to turn off the notification mails (e.g. BANNED contents(.exe,report_id.....))?
I've already seen that the recipient can be configured in the amavis configuration, but I'm looking for a way to completely turn those notifications off.

2

Re: Disable notification mails for quarantined mails

Try this:

*) Search 'spam_admin_maps' in Amavisd config files under /etc/amavis/conf.d/*
*) Set it to empty list or comment out it, then restart Amavisd service.

3

Re: Disable notification mails for quarantined mails

Hey,

still mails incoming (they are sent to 'root').
Any other ideas?

Thanks in advance.

Best,
Achim

4

Re: Disable notification mails for quarantined mails

Did you comment out 'spam_admin_maps' in Amavisd config file?

5

Re: Disable notification mails for quarantined mails

yep,

    #spam_admin_maps  => ["root\@$mydomain"],
    spam_admin_maps  => [],

6

Re: Disable notification mails for quarantined mails

Did you comment out other *_admin_maps in Amavisd config file?

virus_admin_maps => ["root\@\$mydomain"],                                     
    spam_admin_maps  => [],                                                       
    bad_header_admin_maps => [],                                                                                   
    banned_admin_maps => [],

7

Re: Disable notification mails for quarantined mails

ZhangHuangbin wrote:

Did you comment out other *_admin_maps in Amavisd config file?

root@mail:/etc/amavis/conf.d# pwd
/etc/amavis/conf.d

root@mail:/etc/amavis/conf.d# grep _admin_maps *
50-user:  # virus_admin_maps => ["root\@$mydomain"],
50-user:  virus_admin_maps => [],
50-user:  #spam_admin_maps  => ["root\@$mydomain"],
50-user:  spam_admin_maps  => [],
50-user:    # virus_admin_maps => ["root\@$mydomain"],
50-user:    virus_admin_maps => [],
50-user:    #spam_admin_maps  => ["root\@$mydomain"],
50-user:    spam_admin_maps  => [],

all found maps are empty.

8

Re: Disable notification mails for quarantined mails

Please add bad_header_admin_maps and banned_admin_maps manually.