Res wrote:
On Sat, 28 Mar 2009, Sahil Tandon wrote:
Don't use amavisd-new; it would be overkill for this task. And from my
After looking at it, I tend to agree :)
Actually, amavisd-new is well suited for this.
At it's core, it's a high performance and very robust smtp
proxy - just what you need. You can easily disable the
SpamAssassin and antivirus plugins, which are the main CPU and
memory hogs associated with it.
Best of all, it already has the capture/quarantine code you
need built-in.
From there, it's just some simple configuration settings to
get what you have described.
In the past, I also have used clamav-milter to reject mail
while keeping a copy. You could write a custom signature to
match the sender address you're interested in. But note this
only works with clamav-milter version 0.94.2 and earlier;
versions 0.95 and newer use a different code base with a
different quarantine method. http://www.clamav.net
Or use the smtpprox proxy framework to roll your own.
http://bent.latency.net/smtpprox/
-- Noel Jones