Re: [exim] Special routing for incoming non-SMTP mail: help …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Mike Brudenell
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Special routing for incoming non-SMTP mail: help needed urgently
On Wed, 8 Aug 2007, Mike Brudenell wrote:

> > I'm *sure* I remember Philip mentioning how to test whether a message
> > arrived over SMTP or not during the course, but I currently I can't
> > locate the information.


Test $received_protocol if you really mean exactly what you say above.
If you actually mean "received from another host", check
$sender_host_address for not being empty.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book