On 3/3/2015 9:14 AM, LuKreme wrote:
> When I have a message in the mailq how do I get just the message out to, for 
> example, feeding to SpamAssassin? With postcat -bh there is no "From " header.
> 
> (I'm not sure if SA uses the "From " header or not)
> 
> 

The "From " pseudo-header is added during mbox delivery and is never
present until final delivery.  This header shouldn't be used by
SpamAssassin.

The "From: " header (if it exists in the message) will be present
with postcat -bh, and will be used by SpamAssassin.

To manually test a message, use something like:
postcat -bhq QUEUEID | spamassassin
maybe with additional options to SA.



  -- Noel Jones

Reply via email to