On Fri, 2 Mar 2007, Luis Hernán Otegui wrote:

Hi, people, I am currently researching, trying to implement a way for my
POP3 users to train SA via message forwarding. I've read in the list that
the messages should be forwarded as attachments. My question is how do you
make SA process them. I was thinking of creating two accounts (
[EMAIL PROTECTED], and [EMAIL PROTECTED]), but frankly, I don't understand
the way to hand the forwarded messages to SA...

Instead of forwarding as an attachment, I have my users
bounce/redirect/resend their mail, which maintains the message in its
original state and is a lot easier to process than messages in
attachments.  That way, I can just have a cron job go through the
[EMAIL PROTECTED] and [EMAIL PROTECTED] mailboxes and have sa-learn learn each 
message.
Otherwise, you'll have to strip the attachments and pipe them into
sa-learn, which is a lot less trivial.  In that case, Perl's
Mail::Box::Manager is your friend.

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University
----------------------------
Never send mail to [EMAIL PROTECTED]

Reply via email to