1

Topic: Disable spamassassin and amavis for a single domain

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

Hi Zhang,

I can disable antivirus and antispam for a domain where for example my SMTP server work as backup?

Thanks.

Marco.

2

Re: Disable spamassassin and amavis for a single domain

*) Does it matter?
*) Unfortunately, you cannot disable virus/spam scanning for certain domain with iRedMail default settings. But you can modify Amavisd config file to achieve this yourself. Reference:
http://www200.pair.com/mecham/spam/bypassing.html

3

Re: Disable spamassassin and amavis for a single domain

ZhangHuangbin wrote:

*) Does it matter?
*) Unfortunately, you cannot disable virus/spam scanning for certain domain with iRedMail default settings. But you can modify Amavisd config file to achieve this yourself. Reference:
http://www200.pair.com/mecham/spam/bypassing.html

Thanks Zhang,
is important for me because one of my customers wants to have all its mail to be sure that nothing is left for error in spam.
I read the article, but if I configure a second IP address on the same network card, can I configure iRedMail and its parameters on LDAP also the domain of this IP? and all it works?

Thanks

Marco.

4

Re: Disable spamassassin and amavis for a single domain

You don't need to do it that way. Try this:
http://www.mail-archive.com/amavis-user … 00201.html

Test it on a virtual machine or testing server first.