20 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: Global filtering
FromSent OnAttachments
Dan MelomedmanFeb 9, 2004 3:26 pm 
Sam VarshavchikFeb 10, 2004 4:12 am 
Dan MelomedmanFeb 10, 2004 8:40 am 
Lloyd ZusmanFeb 10, 2004 10:00 am 
Dan MelomedmanFeb 10, 2004 10:34 am 
Jon NelsonFeb 10, 2004 12:06 pm 
Dan MelomedmanFeb 10, 2004 12:40 pm 
Gordon MessmerFeb 10, 2004 2:06 pm 
Lloyd ZusmanFeb 10, 2004 2:45 pm 
Dan MelomedmanFeb 10, 2004 2:56 pm 
Gordon MessmerFeb 10, 2004 3:11 pm 
Mitch (WebCob)Feb 10, 2004 3:17 pm 
Dan MelomedmanFeb 10, 2004 3:45 pm 
Alessandro VeselyFeb 11, 2004 2:43 am 
RolandFeb 11, 2004 5:06 am 
Mitch (WebCob)Feb 11, 2004 6:28 am 
Julian MehnleFeb 11, 2004 7:08 am 
Mitch (WebCob)Feb 11, 2004 8:19 pm 
Alessandro VeselyFeb 12, 2004 12:57 am 
Alessandro VeselyFeb 12, 2004 12:57 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] Re: Global filteringActions...
From:Alessandro Vesely (ves@tana.it)
Date:Feb 12, 2004 12:57:45 am
List:net.sourceforge.lists.courier-users

Nice one, thank you

$TCPREMOTEHOST (and/or maybe $TCPLOCALPORT) is all you need.

Courier currently lacks some mechanism to exclude hosts from filtering. One easy to implement solution could be to skip the filtering-stage alltogether when RELAYCLIENT (and maybe BLOCK="") ist set.

But if you reinject the message via pipe to sendmail it wont be filtered since this is by default limited to messages received via smtp, and this also gets you around the per-source limit of couriertcpd.

Not refiltering by system specification is the cleanest thing to do.

Messing around with the control- and datafiles is still an ugly hack though,

I think I got how to do it; still have to test it with batchsize=4 but I got the basis. That's the official method. I think courier uses it internally either.

Ale