CLAM-AV with AMAVISD-NEW
807574Aug 30 2005 — edited Feb 11 2020Hi jay,
I implemented the clam-av with amavisd-new exactly as per your sunsolve document . It works as expected.
I have used two boxes however:
----MTA--------STORE+MTA------
and my MTA (SMTP router) has this implementation.
However, I noted that ONLY external mails sent to internal domain users are scanned by clam-av
Mails:
1) sent by a user to external domain through MTA
after authentication are sent directly without scanning -- though tcp_local channel is in use.
2) Simlarly when mails are sent from ---STORE+MTA-- server (webmail) to external domains they get routed to -MTA-- and use tcp_local but again no scanning...
Other clarification is:
the tcp_scan channel directs the mail to port 10024 -----> at which amavisd-new listens---> which directs it to clam-av through the socket ---> which after scanning is directed to ---> 10025 again tcp_scan as defined in dispatcher -------BUT HERE WHY DOES'NT MAIL LOOPING HAPPEN as the tcp_scan should again send the mail to port 10024 ???
Instead the mails are forwarded to next channel, in my case tcp_intranet....and then to store ...
How does the tcp_scan channel know that it has already scanned the mails and should now got to next channel/mailbox...
The channel definition simply directs the mail to 10024...
Thanks