@lbutlr:
This is what I have to clear the held message and send them to
sa-learn, in case it's useful to anyone else.
$ cat /usr/local/bin/spamd-learn
#!/bin/bash
SUSER=spamd
SPAMF=${SUSER}/trained/spam
# search for held messages, get qid, train as spam, and save message, then
On 3/3/2015 9:47 AM, LuKreme wrote:
On Mar 3, 2015, at 08:30, Noel Jones njo...@megan.vbhcs.org wrote:
To manually test a message, use something like:
postcat -bhq QUEUEID | spamassassin
I was surprised that postcat requires a full path to the file, but thanks for
the info in the From
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
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)
--
On Mar 3, 2015, at 08:30, Noel Jones njo...@megan.vbhcs.org wrote:
To manually test a message, use something like:
postcat -bhq QUEUEID | spamassassin
I was surprised that postcat requires a full path to the file, but thanks for
the info in the From header.
On Mar 3, 2015, at 8:55 AM, Noel Jones njo...@megan.vbhcs.org wrote:
On 3/3/2015 9:47 AM, LuKreme wrote:
On Mar 3, 2015, at 08:30, Noel Jones njo...@megan.vbhcs.org wrote:
To manually test a message, use something like:
postcat -bhq QUEUEID | spamassassin
I was surprised that postcat