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

2007-07-11 Thread Marc Haber
tags #432521 confirmed pending
thanks

On Tue, Jul 10, 2007 at 02:05:02PM +0200, Marc Haber wrote:
 which is going to be there ASAP) would be to change
 /usr/sbin/update-exim4.conf to generate MAIN_RELAY_TO_DOMAINS.

Committed to svn.

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


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



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

2007-07-10 Thread Ben Wheeler
Package: exim4-config
Version: 4.67-5
Severity: important

Hi there,
Not sure how long this has been broken, but I just spotted that my
backup MX was no longer relaying for my domains. 

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.

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...

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.

Regards,
Ben Wheeler

-- Package-specific info:
Exim version 4.67 #1 built 28-Jun-2007 13:09:54
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis 
nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='internet'
dc_other_hostnames='fe.qolc.net'
dc_local_interfaces=''
dc_readhost='qolc.net'
dc_relay_domains='qolc.net;life.eu.org;wuzware.com;quextal.com'
dc_minimaldns='false'
dc_relay_nets='217.169.15.32/29'
dc_smarthost='schottky'

CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:fermi.qolc.net

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-qolc-2007062204 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages exim4-config depends on:
ii  adduser   3.103  Add and remove users and groups
ii  debconf [debconf-2.0] 1.5.13 Debian configuration management sy

exim4-config recommends no packages.

-- debconf information:
  exim4/dc_smarthost: schottky
* exim4/dc_relay_domains: qolc.net;life.eu.org;wuzware.com;quextal.com
* exim4/dc_localdelivery: mbox format in /var/mail/
  exim4/exim3_upgrade: true
* exim4/dc_eximconfig_configtype: internet site; mail is sent and received 
directly using SMTP
  exim4/dc_readhost: qolc.net
  exim4/exim4-config-title:
  exim4/dc_noalias_regenerate: false
* exim4/dc_relay_nets: 217.169.15.32/29
* exim4/mailname: fermi.qolc.net
* exim4/dc_local_interfaces:
* exim4/dc_minimaldns: false
* exim4/dc_other_hostnames: fe.qolc.net
  exim4/no_config: true
  exim4/hide_mailname:
  exim4/dc_postmaster: none
* exim4/use_split_config: true


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



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

2007-07-10 Thread Marc Haber
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


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