3 messages in net.sourceforge.lists.courier-users[courier-users] determining direction...
FromSent OnAttachments
Chris PetersenJan 7, 2003 10:12 am 
Sam VarshavchikJan 7, 2003 3:03 pm 
Chris PetersenJan 8, 2003 12:07 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] determining direction of messages for filtering?Actions...
From:Chris Petersen (lis@forevermore.net)
Date:Jan 7, 2003 10:12:44 am
List:net.sourceforge.lists.courier-users

I'm assuming this isn't a stupid question (though it might be) since I haven't been able to find any info on it. I'm trying to write a perl filter for spamassassin, but really have no desire to filter outgoing messages (esp. because it would freak out spamassassin if it couldn't find the message recipient's settings).

Is there an easy way to know which direction the message is headed, or do I just parse the hosteddomains and locals files on my own (and then figure out some way to figure out the homedir of the message recipient is set to)?

-Chris