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 <= [EMAIL PROTECTED] U=mirian P=local S=338 2007-07-12 12:48:22 1I91q1-0006i2-D6 => [EMAIL PROTECTED] 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 <= [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? > > No, it is just more stupidity on my part. > > .ifdef HIDE_MAILNAME > [EMAIL PROTECTED] [EMAIL PROTECTED] frs : [EMAIL PROTECTED] [EMAIL PROTECTED] > frs > REMOTE_SMTP_RETURN_PATH=${if [EMAIL PROTECTED] [EMAIL PROTECTED] > .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 > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]