> -----Original Message-----
> From: John Rudd [mailto:[EMAIL PROTECTED] 
> 
> Why?  Because what I want is something that has the features of 
> MailScanner (spam assasin + many configurable/pluggable virus 
> scanners + attachment filename rules checking + a few other
> checks + configurable actions for various things), but with a
> mechanism like spamc/spamd (per-request with a direct response,
> instead of dropping it in a directory and then having a completely
> separate action/process happening when mailscanner is done; plus
> the ability to spread it across multiple servers).  Plus, an option
> to pass a path+filename instead of passing the actual file through
> the socket.


I used Procmail and Postfix in a gateway configuration to accomplish this.
Essentially, the mail is received by Postfix that delivers the message to
Procmail with the envelope MAIL FROM and RCPT TO.  Procmail provides the
structure I need to drop in any filtration engine and any AV engine I want.
After the desired actions are complete, the message is reinjected back into
Postfix for final delivery.

Currently, I only perform simple attachment checks at the gateway and AV is
performed in the back-end mail store.  However, this could easily be
modified to include AV scanning (on my to-do list)  It also provides the
basis for administrative notifications, per-user/global tagging for spam
etc.  It will provide the functionality you need to have mail scanned prior
to delivery.  Additionally I developed a Webmin module to manage, report,
parse Postfix/Procmail logs, quarantine, etc.  So if you are looking for a
mail processor use a mail processor.  I would agree that a daemon would be
more efficient but it also tends to be more static than a script.  The site
recipe can grow to do whatever you need it to do.

--Larry



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to