Bug#432716: exim4-config: Exim4 4.67-5 does not honor dc_hide_mailname='true' setting

Miguel Martins Feitosa Filho mfeitosa at certificadoranorte.com.br
Thu Jul 12 16:52:11 UTC 2007


Hi Marc,

Works now...thank you.
The macro language used to generate the config file has a pretty tough
syntax....
Thanks again for your prompt response...
The log shows the origianl mailname but the email domains are being
rewritten and the emails relayed:

2007-07-12 12:48:21 1I91q1-0006i2-D6 <= mirian at tatarana U=mirian P=local
S=338
2007-07-12 12:48:22 1I91q1-0006i2-D6 => fja at hifen.com.br R=smarthost
T=remote_smtp_smarthost H=vip-test03.terra.com.br [200.154.55.12] 
2007-07-12 12:48:22 1I91q1-0006i2-D6 Completed

Miguel

On Thu, 2007-07-12 at 17:26 +0200, Marc Haber wrote:
> On Thu, Jul 12, 2007 at 10:32:03AM -0400, Miguel Martins Feitosa Filho wrote:
> > 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 <= mirian at tatarana U=mirian P=local
> > S=335
> > 2007-07-12 10:27:52 1I8ze4-0005SR-Qm == fja at hifen.com.br R=smarthost
> > T=remote_smtp_smarthost defer (-1): Failed to expand return path "${if
> > match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@certificadoranorte.com.br}{${if match_domain{$sender_address_domain}{'"$mailname"'}{${sender_address_local_part}@certificadoranorte.com.br}fail}}}": unknown variable name "mailname"
> > 
> > in the log...
> > 
> > 
> > Could it be that I inserted lines in incorrect position in the file?
> 
> No, it is just more stupidity on my part.
> 
> .ifdef HIDE_MAILNAME
> REMOTE_SMTP_HEADERS_REWRITE=*@+local_domains $1 at DCreadhost frs : *@ETC_MAILNAME $1 at DCreadhost frs
> REMOTE_SMTP_RETURN_PATH=${if match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@DCreadhost}{${if match_domain{$sender_address_domain}{ETC_MAILNAME}{${sender_address_local_part}@DCreadhost}fail}}}
> .endif
> 
> I still didn't try this, but will actually do so tonight. If you're
> faster than me, your help is appreciated.
> 
> Greetings
> Marc
> 





More information about the Pkg-exim4-maintainers mailing list