Thanks Mark.

I had worked out that it was looping and have (at least for now) changed to 
quarantining to files.

Thanks also for the doco link. That has told me about the quarantine to mbox 
which is probably the way I shall go.

FWIW, I have also modified amaavisd to use bogofilter instead of SpamAssassin.

Cheers,
Stephen

On Tuesday 30 September 2008 04:26:13 
[EMAIL PROTECTED] wrote:
>
> Message: 3
> Date: Mon, 29 Sep 2008 18:37:14 +0200
> From: Mark Martinec <[EMAIL PROTECTED]>
> Subject: Re: [AMaViS-user] Quarantining spam to a mailbox
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;  charset="us-ascii"
>
> 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
-- 
========================================================================
Stephen Davies Consulting P/L                         Voice: 08-8177 1595
Adelaide, South Australia.                            Fax  : 08-8177 0133
Computing & Network solutions.                        Mobile:040 304 0583

-------------------------------------------------------------------------
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