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

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to