On 10/6/2013 1:46 AM, m...@jama.is wrote:
> Hi all,
> 
> I tried to install spamassassin as a postfix content filter. It did not work 
> well, so I deactivated it. I am now having a couple of undelivered messages 
> pending in DEFERRED which have in the header "contentfilter: spamfilter" set. 
> postcat shows me:
> 
> *** ENVELOPE RECORDS 151CB1180A42 ***
> message_size:            5881             693               1               0 
>            
> 5881
> message_arrival_time: Sat Oct  5 21:08:46 2013
> create_time: Sat Oct  5 21:08:46 2013
> content_filter: spamfilter
> named_attribute: log_ident=151CB1180A42
> named_attribute: rewrite_context=remote
> [...]
> *** HEADER EXTRACTED 151CB1180A42 ***
> *** MESSAGE FILE END 151CB1180A42 ***
> 
> Is there a way to repair these messages so they can be delivered? How can I 
> remove the "content_filter: spamfilter" attribute from the spooled messages?

Reenable Spamassassin, flush the queue, confirm the messages were
delivered.  Then put all mail on HOLD.  Stop/disable Spamassassin, make
master.cf etc changes so Postfix doesn't try to pipe to SA, then restart
Postfix.  Then release the messages from the hold queue.  This should
prevent the defer problem from happening a 2nd time.

-- 
Stan



Reply via email to