Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

Mark message as spam from Postfix Queue

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


s91066 at yahoo

Mar 8, 2012, 12:52 AM

Post #1 of 5 (440 views)
Permalink
Mark message as spam from Postfix Queue

Hallo,

Is it possible to somehow instruct spamassassin to mark messages as spam when those messages are in Postfix queue?
The ideal in my mind is to get the queue id of the spam message and somehow extract it from the queue and then use it to train spamassassin. Is it possible?

My setup is postfix, amavisd-new, spamassassin 3.3.1


thomas.kinghorn at gmail

Mar 8, 2012, 12:55 AM

Post #2 of 5 (419 views)
Permalink
Re: Mark message as spam from Postfix Queue [In reply to]

On 08/03/2012 10:52, Peter Tselios wrote:
Hallo,
Is it possible to somehow instruct spamassassin to mark messages as spam when those messages are in Postfix queue? The ideal in my mind is to get the queue id of the spam message and somehow extract it from the queue and then use it to train spamassassin. Is it possible?
My setup is postfix, amavisd-new, spamassassin 3.3.1

Why use it to train spamassassin if it has already been deemed to be spam?

Just a thought.

Tom


me at junc

Mar 8, 2012, 5:39 AM

Post #3 of 5 (410 views)
Permalink
Re: Mark message as spam from Postfix Queue [In reply to]

Den 2012-03-08 09:52, Peter Tselios skrev:

> My setup is postfix, amavisd-new, spamassassin 3.3.1

+ dovecot + dovecot-antispam (pipe or mailtrain or another spam engine
like crm/dspam)

train in postfix, you will be disapointed by trying :=)


me at junc

Mar 8, 2012, 5:42 AM

Post #4 of 5 (405 views)
Permalink
Re: Mark message as spam from Postfix Queue [In reply to]

Den 2012-03-08 09:55, Tom Kinghorn skrev:

> Why use it to train spamassassin if it has already been deemed to be
> spam?

your spam is another users ham, or even worse your ham is another users
spam

bayes is to compasate for this


pegpe at irt

Mar 8, 2012, 11:31 AM

Post #5 of 5 (401 views)
Permalink
Re: Mark message as spam from Postfix Queue [In reply to]

I plan to do the following, only the first step is done at the moment.

1 Monitor the outgoing smtpservers for accounts that suddenly send
emails to many recipient that they usually don't send to and other odd
behavoures and report the queueID's. (account is hijacked and used for
spamming or a bot on the inside has found the smtpserver)

2 redirect emails from that sender to a holdqueue in postfix and with
postcat feed them to spamassassin to try to automatically make a
decision weather it is spam or not.

3 If it is spam without any doubts, thow it away, feed spamassassin and
have a chat with the user.
If it is ham release it from holdqueue and back off.
If in doubt call for manual intervention.

This is perhaps not exactly what you want to do but it needs
intervention between postfix and spamassassin.

On 03/08/2012 09:52 AM, Peter Tselios wrote:
> Hallo,
>
> Is it possible to somehow instruct spamassassin to mark messages as
spam when those messages are in Postfix queue?
> The ideal in my mind is to get the queue id of the spam message and
somehow extract it from the queue and then use it to train spamassassin.
Is it possible?
>
> My setup is postfix, amavisd-new, spamassassin 3.3.1

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.