On Sunday 04 October 2009 15:57:30 mouss wrote:
> /dev/rob0 a écrit :
> > On Sunday 04 October 2009 11:24:31 mic...@casa.co.cu wrote:
> >> Another subject of consultation, I have implemented bogofilter in
> >> my work, I have been trained according to the documentation at
> >> this point that the messages marked as SPAM and HAM, the second
> >> step would be to take a decision to the marked messages.
> >>
> >> How could move messages marked as spam that are coming, be moved
> >> to a folder called SPAM on every mailbox?
> >>
> >> I use Postfix + MailScanner + Bogofilter + Dovecot
> >
> > FWIW, I prefer the amavisd-new approach to this. The username (LHS of
> > the email address) has "+spam" appended when reinjected. Then your
> > ~/.forward+spam (for local(8) delivery, or user+s...@domain listings
> > in $virtual_mailbox_maps for virtual(8)) controls where the spam is
> > delivered.
>
> works too, but requires "some" care. in particular, if one has many
> levels of virtual aliases (one can expand aliases before amavisd-new,
> but I prefer passing the original address to the filter...).
>
> for example, a virtual alias entry like:
>       j...@example.com        j...@example.com
> would apply to joe+s...@example.com (thus losing the +spam part)
> unless he has a corresponding virtual alias.

http://www.postfix.org/postconf.5.html#propagate_unmatched_extensions
might cover the issue that you describe. :)
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to