On Tue, 6 May 2003, William Thompson wrote:
> I tried the yes/no answer, however, when I had "and domains='$domain'",
> $domain was always empty
> This occured when it checked local_domains in the acl_smtp_mail acl.
Ah! In the *MAIL* ACL. That explains it. $domain won't be set in the
MAIL acl, because there is no recipient. If you want to check the
sender's domain, you should use $sender_address_domain. Sorry, I wasn't
thinking of this case.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.