I have a script that extracts the attachment and runs sa-learn on just the attachment. While this might not be the best way to do the job, it works well enough for me.

script source: http://vega.perigee.net/salearn.txt

That sed regex in the script may not work for other mail clients as I only use Mozilla and made sure it works with that.

Ryan Moore
----------
Perigee.net Corporation
704-849-8355 (sales)
704-849-8017 (tech)
www.perigee.net

Kevin Roberts wrote:
Hello all,

In my current setup I cannot copy the entire message into another s/d for
sa-learning.  I need to have the capability to forward or forward as an
attachment the message to a mailbox, have the mail downloaded a new folder
and let sa-learn the mail as spam or ham appropriately.

I know the problem with the header info getting changed when a message is
forwarded.  I am hoping that there is a proper way to maybe forward the
message as an attachment so the rfc-822 att is the actual entire original
message and have sa-learn read ONLY the rfc-822 attachment as the message to
learn from.  Is there a best way to do this to force sa-learn to not learn
from the new headers and only learn from the attachment?

Thanks for all the help.



Reply via email to