On Thu, 2 Jun 2005, Marc Sherman wrote:
> > 
> > $domain can be gotten in the DATA acl using something like this:
> > 
> > ${lc:[EMAIL PROTECTED]
> > 
> > (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   [EMAIL PROTECTED]    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.

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

Reply via email to