1

Topic: How can I remove the amavisd from iredmail? Any impact?

I found the nested MAIL command happened occassionally and seems the problem cannot be fixed.  So I would like to know any impact if remove amavisd from the system.  Also how can I remove it?  please advice.  Thanks.

2

Re: How can I remove the amavisd from iredmail? Any impact?

Comment out 'content-filter' line in postfix main.cf.

Warning: If amavisd was disabled, you will lost some features:

  • DKIM signing and verification

  • SPF verification

  • Signinig disclaimer on all outgoing emails

  • Content-based anti-spam

  • Anti-virus

3

Re: How can I remove the amavisd from iredmail? Any impact?

And, did you test the patch which mentioned in my reply? What's the result?

4

Re: How can I remove the amavisd from iredmail? Any impact?

It's using 2.6.2, already added the

smtp_connection_cache_enable = no
smtp_connection_cache_on_demand = no

but still happening~ all the time. 

Mar 29 08:29:26 264637-web1 amavis[12097]: (12097-02) (!)FWD via SMTP: <SENDER EMAIL> -> <EMAIL ADDR>,BODY=7BIT 503 5.5.1 Failed, id=12097-02, from MTA([127.0.0.1]:10025): 503 5.5.1 Error: nested MAIL command
Mar 29 08:29:26 264637-web1 postfix/smtp[5725]: 5F703693C29C: to=<EMAIL ADDR>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.1, delays=3/0/0/0.11, dsn=5.5.1, status=bounced (host 127.0.0.1[127.0.0.1] said: 503 5.5.1 Failed, id=12097-02, from MTA([127.0.0.1]:10025): 503 5.5.1 Error: nested MAIL command (in reply to end of DATA command))

5

Re: How can I remove the amavisd from iredmail? Any impact?

According to my information, you have to set them to '0', and not 'no'.
Have you tried that as well?