You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Fitzpatrick <li...@webtent.net> on 2007/03/29 15:25:55 UTC

Using Postfix always_bcc for catching messages

I am running Postfix 2.3.5 with SA 3.1.7 and amavisd-new. If I catch a
copy of all messages using the Postfix option of always_bcc, will this
work when learning those messages? I am wondering if the bcc address
being in the header of all those messages will cause any learning issues
regarding the address.

-- 
Robert


Re: Using Postfix always_bcc for catching messages

Posted by Robert Fitzpatrick <li...@webtent.net>.
On Thu, 2007-03-29 at 18:31 +0300, Henrik Krohns wrote:
> On Thu, Mar 29, 2007 at 11:22:05AM -0400, Robert Fitzpatrick wrote:
> > Got your script, all works perfectly, thanks! My question is how do I
> > know which archived id's to feed to your script to learn as spam, ham,
> > etc?
> 
> Actually I'm not sure what your original question is now. If you meant
> autolearning or such, then the script is wrong ofcourse.
> 
> My script is for relearning manually false positives or spams. In that
> case you should already know what to do. :)

Yes, trying to come up with an semi-auto learn scheme. I am trying to
use cyrus sieve filters to come up with as much ham and spam as
possible, hence, trying to bcc a cyrus mailbox. Thanks for the script
though, I am sure it is going to come in handy. I believe I'll archive
as you suggest, let my sieve filters confirm ham and spam, delete the
rest from my mailbox.

So, do you think the bcc header will effect learning? That was my
original question.

-- 
Robert


Re: Using Postfix always_bcc for catching messages

Posted by Robert Fitzpatrick <li...@webtent.net>.
On Thu, 2007-03-29 at 16:39 +0300, Henrik Krohns wrote:
> On Thu, Mar 29, 2007 at 09:25:55AM -0400, Robert Fitzpatrick wrote:
> > I am running Postfix 2.3.5 with SA 3.1.7 and amavisd-new. If I catch a
> > copy of all messages using the Postfix option of always_bcc, will this
> > work when learning those messages? I am wondering if the bcc address
> > being in the header of all those messages will cause any learning issues
> > regarding the address.
> 
> Use amavisd-new clean_quarantine method, it's more logical way imho. This
> way you end up with a single mail per file. And you can find messages for
> learning easily by quarantine ID.
> 
> More info and scripts by request. :)

Got your script, all works perfectly, thanks! My question is how do I
know which archived id's to feed to your script to learn as spam, ham,
etc?

-- 
Robert


Re: Using Postfix always_bcc for catching messages

Posted by Henrik Krohns <he...@hege.li>.
On Thu, Mar 29, 2007 at 09:25:55AM -0400, Robert Fitzpatrick wrote:
> I am running Postfix 2.3.5 with SA 3.1.7 and amavisd-new. If I catch a
> copy of all messages using the Postfix option of always_bcc, will this
> work when learning those messages? I am wondering if the bcc address
> being in the header of all those messages will cause any learning issues
> regarding the address.

Use amavisd-new clean_quarantine method, it's more logical way imho. This
way you end up with a single mail per file. And you can find messages for
learning easily by quarantine ID.

More info and scripts by request. :)

Cheers,
Henrik