View Single Post
  #2   (View Single Post)  
Old 5th March 2014
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,132
Default

The problem with most howto's and guide floating around the Net, is that many of them are outdated. And they hardly ever explain how it all works.

If Mailscanner is scanning incoming mails, it has to do it just after the mail was received and before it is being delivered to the mailbox or imap file of the user.

Procmail, that does some simple scanning of incoming mails. hooks itself in an existing email flow by using an Unix pipe command in a "~/.forward" file.

Another method could be that Mailscanner monitors the incoming email ports and calls sendmail to handle it and does whatever to scan it before delivery to the user mailbox.

I cannot guarantee it, but I may have time to create a similar setup with postfix during the weekend. Will let you know
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote