Stephen,

> I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and sendmail
> 8.14.2. I have configured amavisd to D_DISCARD spam and to quarantine spam
> using  spam_quarantine_method smtp:[127.0.0.1]:25. This superficially seems
> to be working but it looks as if it may cause a loop whereby one spam
> generates several entries in the target mailbox.

If you are sending quarantine mail back you your MTA on a port which is
configured the same as for a regular incoming mail (i.e. it is invoking
a milter), then you are creating a loop - mail to be quarantined is
being fed again to amavisd by MTA via its milter.

You either need to tell MTA not to apply milter to a mail received
from amavisd, or tell amavisd to send quarantine mail to some other
place, like a backend MTA if you have it. With Postfix this is quite
easy, add another smtpd listening port and configure it without
a milter. Don't know what would be the best approach with sendmail.

Probably the least work is to let amavisd quarantine directly to a
local directory or a mbox file without MTA intervention - or switch
to Postfix :)

Another possibility is not to quarantine, but let amavisd append
address extension (e.g. '-spam' or '+spam') for spam messages,
then configure MTA to reroute such recipient addresses to a
dedicated mailbox.


> Where is that doco?

> When I try the "spambox@" syntax, I get a sendmail error "hostname
> required". (Yes. I am trying to send spams to a 'special' mailbox
> for later review.)

http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quarantine


  Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to