Author: Peter Bowyer Date: To: exim-users Subject: Re: [exim] Outgoing email and ${run}
Stephen Gran <steve@???> wrote: > Hello all,
> > How to actually identify outgoing email? This installation only
> accepts mail generated on the local machine, or via smtp auth. I had
> thought about putting it into an ACL, until I realized the old
> problem of $recipient in an ACL - there may be more than one
> recipient. Scratch
> that one off.
>
$recipient in a rcpt acl is just fine - the acl fires once per recipient.
You probably need a test which only selects non-local domains and ignores
null senders.