I'm looking at controlling relaying via our Exim systems. However, when I tried it last week, a message was rejected because it was addressed to a partially-qualified domain.
I have the following in the config file:
relay_domains = nottingham.ac.uk:*.nottingham.ac.uk:*.nott.ac.uk:partial-lsearch;/usr/local/exim/tables/relay_domains
relay_domains_include_local_mx
sender_net_accept_relay = 128.243.0.0/255.255.0.0
However, a message sent from a machine on our net was rejected because it was sent to "user@unix" rather than "user@???". The configuration has rewrite rules to fully-qualify that name, so I wonder if the relay checks take place before the rewrite rules are applied? The FQDN appears in the relay_domains file mentioned in the partial-lsearch, but the partially qualified name does not.
--
David Osborne email: Postmaster@???
Postmaster tel: +44 (0)115 951 3397
University of Nottingham, UK
--
*** Exim information can be found at
http://www.exim.org/ ***