----- Original Message ----- From: "John Rudd" <[EMAIL PROTECTED]> > > Does anyone have other thoughts or ideas on how to make mailscanner and > courier work together? The other solution would be to keep sendmail > and mailscanner on our SMTP servers, and only run courier on our > POP/IMAP servers. But, I was hoping to use courier, both as SMTP and > POP/IMAP on all of the machines. (right now, we have 2 SMTP servers > doing mailscanner and 1 POP server that only accepts messages from the > SMTP servers ... but I'd rather have more distributed processing with > SMTP and POP/IMAP on all 3 machines using courier's ability to work > well with NFS as a means of distributing the load across all 3 > machines).
John, Mailscanner sounds conceptually similar to inflex. One MTA process grabs the mail and delivers it to the scanning engine, and if all is well a separate process is fired up to deliver the email onward. Courier's Filters are in-line, and they make the entire email mime bundle available to the filter script. I use Courier's perlfilter. And, since the filtering happens as part of the MTA receiving function of Courier, if you return an error code from your filter script, it will reject messages directly, not bounce them later. I'm sure some folks on this list have claimed to have integrated things like spamassasin into the Courier Filter too. My own filter script is based on the sample perlfilter script supplied with courier. I do some simple pattern matching in the headers, check the file types based on both the name (*.exe for example) and the output for the 'file' command on each mime attachment, and I also pass the mail through and Anti-Virus engine (Sophos SAVI in my case). I have never had the chance to integrate spamassasin, but I'd like to do it one day... Courier can to the RBL lookups itself, so I don't bother trying to re-invent the wheel in the filter script. If you're interested, I will send a copy of my filter script to you. I make no great claims about it - it works for me and you are welcome to it if you wish. Patrick. Perimeter Networks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
