When I send mail to ham-train@domain.x, the message is retrained. However, if I send to spam-train@domain.x, I get the following error even though there is a valid dspam signature at the bottom of the message (which is also in the sql database):
Code:
Jan 11 01:34:09 shadow dspam[9665]: Signature retrieval for '1000,45a6030289301689212860' failed
Jan 11 01:34:09 shadow dspam[9665]: Unable to find a valid signature. Aborting.
Jan 11 01:34:09 shadow dspam[9665]: process_message returned error -5. dropping message.
/etc/postfix/main.cf
Code:
smtpd_recipient_restrictions =
check_recipient_access pcre:/etc/postfix/maps/dspam-train
dspam-train_destination_recipient_limit = 1
/etc/postfix/master.cf
Code:
###################################################################################################################################
# DSPAM services
dspam-train unix - n n - 10 pipe
flags=Ru user=dspam argv=/usr/bin/dspam
--client
--class=$nexthop
--source=error
--deliver=innocent,spam
--user $recipient -i -f $sender -- $recipient
/etc/postfix/maps/dspam-train
Code:
/^(.*)-train\@(.*)$/ FILTER dspam-train:$1
Again... I can train ham, just not spam. ??? weird eh?
Any input would be appreciated.
Thanks