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

Marc Haber mh+debian-packages at zugschlus.de
Wed Jul 11 20:21:34 UTC 2007


On Wed, Jul 11, 2007 at 05:28:26PM +0200, Marc Haber wrote:
> On Wed, Jul 11, 2007 at 10:45:35AM -0400, Miguel Martins Feitosa Filho wrote:
> > Exim4 4.67-5  is not rewriting email addresses destined for external
> > relay in a smarthost setting so mail gets frozen due to a .
> 
> Confirmed. Embarrassing. There is a macro mismatch in the configuration.
> 
> Will be fixed in the next upload.
> 
> I need to delve deeper into the mechanics to find out what I missed.

Try adding this:
.ifdef HIDE_MAILNAME
REMOTE_SMTP_HEADERS_REWRITE=headers_rewrite = *@+local_domains $1 at DCreadhost frs : *@'"$mailname"' $1 at DCreadhost frs
REMOTE_SMTP_RETURN_PATH=return_path = ${if match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@DCreadhost}{${if match_domain{$sender_address_domain}{'"$mailname"'}{${sender_address_local_part}@DCreadhost}fail}}}
.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.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190




More information about the Pkg-exim4-maintainers mailing list