Re: [exim] Exim ACL - Opt-out of spam check

Top Page
Delete this message
Reply to this message
Author: Dave Lugo
Date:  
To: Marc Sherman
CC: exim-users
Subject: Re: [exim] Exim ACL - Opt-out of spam check
On Thu, 2 Jun 2005, Marc Sherman wrote:
> >
> > $domain can be gotten in the DATA acl using something like this:
> >
> > ${lc:${extract{2}{@}{$recipients}}}
> >
> > (the lc may be unneeded)
>
> That's not a great idea, for the same reason that $domain isn't
> available in the DATA acl in the first place; $recipients might well
> contian multiple addresses, possibly with different domains. Your
> solution returns the domain of the _first_ address in the list.
>



Ugh, good point. For my 'hobby' server at home, I enforce single
rcpt_to from external senders, so it's not an issue for me (but
sure would be an issue for others)


-- 
--------------------------------------------------------
Dave Lugo   dlugo@???    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.