No! Erik you are my God!

That ***excactly*** what I want to do!

Tell me how you did the 1st step...


Peter


________________________________
 Απο: Per-Erik Persson <pe...@irt.kth.se>
Προς: users@spamassassin.apache.org 
Στάλθηκε: 9:31 μ.μ. Πέμπτη, 8 Μαρτίου 2012
Θεμα: Re: Mark message as spam from Postfix Queue
 

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

Reply via email to