Bug#493526: exim4-config: mailname not automatically added to MAIN_LOCAL_DOMAINS
Matthew Moore
mmoaot+debianbug at gmail.com
Sat Aug 2 23:43:00 UTC 2008
Package: exim4-config
Version: 4.63-17
Severity: important
Hello.
Let me say right off that this bug may have the same underlying cause as 481597, I'm not
certain.
I dpkg-reconfigure'd exim4-config recently to set up for smarthost operation. The problem I
observed was that all mail was sent to the smarthost, even mail which should have been
delivered locally, e.g., mail to an unqualified username, or to username at mailname
(matt at peopledog.homenet in this case).
In part the issue is confusing directions:
" Please enter a semicolon-separated list of recipient domains for which │
│ this machine should consider itself the final destination, apart from │
│ the local hostname (peopledog) and "localhost". These domains are │
│ commonly called "local domains". │
│ │
│ Leaving this list blank will have Exim do no local deliveries.
"
These two paragraphs seem in contradiction. The first suggests that the mailname and
localhost do not need to be provided in the following prompt to obtain local delivery for
the mailname and localhost. Yet the latter suggests that no local delivery at all will
happen if the field is left blank.
As it happens it appears the last paragraph is more correct. If I leave the list blank, in
the resulting config.autogenerated only "@:localhost" is present in MAIN_LOCAL_DOMAINS, so
mail qualified implicitly or otherwise by the mailname is not considered local.
If I repeat the mailname at the "other destinations" prompt then local mail is delivered as
expected.
Thanks for your work on Debian.
Matt
-- Package-specific info:
Exim version 4.63 #1 built 20-Jan-2007 10:40:39
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'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to replace
# the DEBCONFsomethingDEBCONF strings in the configuration template files.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='peopledog.homenet'
dc_local_interfaces='127.0.0.1'
dc_readhost='peopledog.homenet'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.comcast.net'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:peopledog.homenet
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages exim4-config depends on:
ii adduser 3.102 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.11etch2 Debian configuration management sy
exim4-config recommends no packages.
-- debconf information:
exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: smtp.comcast.net
exim4/dc_relay_domains:
* exim4/dc_relay_nets:
* exim4/mailname: peopledog.homenet
* exim4/dc_localdelivery: mbox format in /var/mail/
* exim4/dc_local_interfaces: 127.0.0.1
* exim4/dc_minimaldns: false
* exim4/dc_other_hostnames: peopledog.homenet
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
exim4/no_config: true
* exim4/hide_mailname: false
exim4/dc_postmaster: matt
* exim4/dc_readhost: peopledog2.homenet
* exim4/use_split_config: false
exim4/exim4-config-title:
More information about the Pkg-exim4-maintainers
mailing list