EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: TheEricHarris on Wednesday 03 September 2008, 01:18:35 am



Title: SMTP Proxy Broken
Post by: TheEricHarris on Wednesday 03 September 2008, 01:18:35 am
Get this in the SMTP logs:
amavis[3564]: (03564-01) (!)Clam Antivirus-clamd: Can't connect to INET socket 127.0.0.1:3310: Connection refused, retrying (2)
Sep 2 08:32:46 amavis[3564]: (03564-01) (!)run_av (Clam Antivirus-clamd, built-in i/f): Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 40) line 293.
Sep 2 08:32:46 amavis[3564]: (03564-01) (!!)Clam Antivirus-clamd av-scanner FAILED: CODE(0x86e4e00) Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 40) line 293. at (eval 40) line 491.
Sep 2 08:32:46 amavis[3564]: (03564-01) (!!)WARN: all primary virus scanners failed, considering backups

After a reboot, incoming emails will just sit in the queue.  If I shutdown amavis and restart it (from /etc/init.d), mail starts flowing. 

What the heck is going on?


Title: Re: SMTP Proxy Broken
Post by: ..::Bit71::.. on Thursday 04 September 2008, 12:50:22 am
Same problem........
i must to deactive the antivirus on the smtp proxy....
the same problem happened when active the antivirus in pop3......

Not resolve...........


Bye


Title: Re: SMTP Proxy Broken
Post by: TheEricHarris on Saturday 06 September 2008, 06:41:40 am
Definitely a bug...

Whenever you make changes to the SMTP proxy, it restarts everything.  The issue is amavisd doesn't restart.  If it's off, emails will just sit in the queue.  You must do /etc/init.d/amavisd start and all is well.

Please fix this for next release!