Hi,

added the lines sent after 
# This transport is used for smarthost and satellite configurations.
comment in template file

exim accepts config changes...

I get 
2007-07-12 10:27:52 1I8ze4-0005SR-Qm <= [EMAIL PROTECTED] U=mirian P=local
S=335
2007-07-12 10:27:52 1I8ze4-0005SR-Qm == [EMAIL PROTECTED] R=smarthost
T=remote_smtp_smarthost defer (-1): Failed to expand return path "${if
[EMAIL PROTECTED] match_domain{$sender_address_domain}{'"$mailname"'[EMAIL 
PROTECTED]": unknown variable name "mailname"

in the log...


Could it be that I inserted lines in incorrect position in the file?

Thanks,
Miguel Feitosa

On Thu, 2007-07-12 at 07:53 +0200, Marc Haber wrote:
> On Wed, Jul 11, 2007 at 10:21:34PM +0200, Marc Haber wrote:
> > Try adding this:
> > .ifdef HIDE_MAILNAME
> > REMOTE_SMTP_HEADERS_REWRITE=headers_rewrite = [EMAIL PROTECTED] [EMAIL 
> > PROTECTED] frs : *@'"$mailname"' [EMAIL PROTECTED] frs
> > REMOTE_SMTP_RETURN_PATH=return_path = ${if [EMAIL PROTECTED] 
> > match_domain{$sender_address_domain}{'"$mailname"'[EMAIL PROTECTED]
> > .endif
> > 
> > right before your remote_smtp_smarthost router in
> > /etc/exim4/exim4.conf.template and restart exim. Please report back if
> > this fixes things for you.
> 
> Idiot me. The correct lines are of course
> 
> .ifdef HIDE_MAILNAME
> [EMAIL PROTECTED] [EMAIL PROTECTED] frs : *@'"$mailname"' [EMAIL PROTECTED] 
> frs
> REMOTE_SMTP_RETURN_PATH=${if [EMAIL PROTECTED] 
> match_domain{$sender_address_domain}{'"$mailname"'[EMAIL PROTECTED]
> .endif
> 
> Try again please and report back.
> 
> Please always reply to the BTS as well so that the bug trail is
> completely visible.
> 
> Greetings
> Marc
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to