Re: [exim-dev] Re: [exim] non-ascii in the envelope

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Tony Finch
CC: exim-dev, mcn4
Subject: Re: [exim-dev] Re: [exim] non-ascii in the envelope
On Tue, 16 Aug 2005, Tony Finch wrote:

> However we were talking about envelope commands (MAIL and RCPT) so this is
> almost but not quite a solution. Matthew identified the right internal
> variable, though it's local to smtp_in.c. The documentation lists the
> situations in which it is passed through to acl_check() but in the case of
> RCPT the variable which is used for this is overloaded with the recipient
> address, so these two uses need to be separated.
>
> Is something like the following patch OK or would a bigger change make it
> cleaner overall? (I haven't even compiled this yet.)


I have just committed a conceptually bigger, but actually smaller in
terms of edits, change. What I've done is to make $smtp_command_argument
available for the ACLs for all SMTP commands, including MAIL and RCPT.
I turned the local variable into the global one.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book