Re: [Exim] Router Director condition question

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Owen Creger
Υ/ο: 'exim-users@exim.org'
Αντικείμενο: Re: [Exim] Router Director condition question
On Fri, 1 Nov 2002, Owen Creger wrote:

>     condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
> {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} }
> {1}{0}}"


> What addresses/domains are considered to be local in the condition {!eq
> {$received_protocol}{local}}


That tests for messages received from processes on the local host.

> Is local determined by other option settings, if so, what are they?


No. Exim's meaning of "local" is "this host". If you want to test for
something like "site local", then you must add a test on the incoming IP
address, i.e. on $sender_host_address.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.