Bug#432521: exim4-config: Relaying broken: MAIN_RELAY_DOMAINS != MAIN_RELAY_TO_DOMAINS

Marc Haber mh+debian-packages at zugschlus.de
Tue Jul 10 12:05:02 UTC 2007


severity #432521 grave
thanks

On Tue, Jul 10, 2007 at 11:35:55AM +0100, Ben Wheeler wrote:
> Tried dpkg-reconfigure exim4-config. Got confused by the fact that
> it asks for semicolon separated lists when mine were colon-separated.
> Tried both ways. Still no dice.
> 
> After faffing around for a bit, I found that 
> /var/lib/exim4/config.autogenerated contains:
> .ifndef MAIN_RELAY_DOMAINS
> MAIN_RELAY_DOMAINS=<; qolc.net;life.eu.org;wuzware.com;quextal.com
> .endif
> 
> However, /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
> and /etc/exim4/exim4.conf.template
> contain
> domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
> 
> So there seems to be an inconsistency in the naming of this macro.

It is. Thanks for spotting this.

> Changing MAIN_RELAY_TO_DOMAINS to MAIN_RELAY_DOMAINS in the /etc/exim4 files
> and restarting seems to have fixed relaying for me. No idea if this is
> the "right" solution though...

The "right" solution (which will be implemented in the next upload
which is going to be there ASAP) would be to change
/usr/sbin/update-exim4.conf to generate MAIN_RELAY_TO_DOMAINS.

> I've put this as 'important' because it broke a previously functional
> backup MX or relay, with no errors from exim on startup warning about
> the undefined macro.

Upgrading to grave.

Again, thanks for spotting this.

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 621 72739835




More information about the Pkg-exim4-maintainers mailing list