[SA-exim] SAEximRunCond
Peter N Lewis
peter at stairways.com.au
Tue, 16 Jul 2002 10:58:02 +0800
At 3:45 -0700 15/7/02, Michael Collin Nielsen wrote:
>I would like to setup sa-exim to not scan mail that come from my
>relay_hosts. However I do not seem to be able to write a condition that
>exim will accept. Could anyone give me a clue to a working example ?
This is what I do:
SAEximRunCond: ${if or { {!def:sender_host_address} {eq
{$sender_host_address}{127.0.0.1}} {eq {$h_X-Local-Message:}{yes}} }
{0} {1} }
And in exim's configure:
warn hosts = +relay_from_hosts
message = X-Local-Message: yes
warn authenticated = *
message = X-Local-Message: yes
And in exim's filter:
headers remove X-Local-Message
If anyone has a better idea, speak up...
Enjoy,
Peter.
--
<http://www.interarchy.com/> <http://download.interarchy.com/>