5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Outgoing Filter
FromSent OnAttachments
Rob KettleJul 25, 2007 2:43 am 
Michael CarmackJul 25, 2007 7:28 am 
Rob KettleJul 25, 2007 7:33 am 
Gordon MessmerJul 25, 2007 8:03 am 
Michael CarmackJul 25, 2007 8:18 am 
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:Re: [courier-users] Outgoing FilterActions...
From:Gordon Messmer (yiny@eburg.com)
Date:Jul 25, 2007 8:03:54 am
List:net.sourceforge.lists.courier-users

Rob Kettle wrote:

I think I may have found the answer to both our issues.

There is a file called enablefiltering in the config directory that seems to need esmtp to filter incoming and local to filter outgoing.

No... if it's set to 'esmtp', then all mail received by SMTP -- regardless of who sent it, or where it's going -- will be scanned. If you change it to, or add 'local', then mail that's submitted by the local system, via sendmail, will also be scanned.

Rob~ If you want to scan outgoing mail, then you need to use a courierfilter to scan the mail.

Michael~ If you want to skip scanning messages that are generated by your users, then your filter needs to contain that logic. Courier won't do it for you. Pythonfilter provides a collection of "whitelist" modules to do exactly that. Maybe you can get some ideas from them.