Bug#399185: exim4-config: The present configuration system does not allow for multiple users with the same smarthost

T 78abc at web.de
Sat Nov 18 12:38:09 CET 2006


Package: exim4-config
Version: 4.63-10
Severity: normal

I have two users that use the same smarthost. They need to authenticate with different 
user/pass pairs, since the smarthost checks for valid addresses in the from header. 
However, I don't see any way to implement multiple user/pass pairs in passwd.client.

I use an additional file smtp_users to determine the smarthost for outgoing mail for a 
given user, as can be seen from the configuration below.

It would be nice if per-user smarthosts and per-user smarthost user/pass pairs could be 
configured with the default debian exim configuration scheme.

Best regards - TiB


-- Package-specific info:
Exim version 4.63 #1 built 05-Nov-2006 10:39:17
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='myhostname'
dc_local_interfaces='127.0.0.1'
dc_readhost='one.of.my.smart.hosts'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
dc_smarthost='${extract{smart_host}{${lookup{$sender_address}lsearch{CONFDIR/smtp_users}{$value}fail}}}'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
mailname:myhostname

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (1001, 'testing'), (1001, 'stable'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)

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

exim4-config recommends no packages.

-- debconf information:
  exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: ${extract{smart_host}{${lookup{$sender_address}lsearch{CONFDIR/smtp_users}{$value}fail}}}
  exim4/dc_relay_domains:
* exim4/dc_relay_nets:
* exim4/mailname: myhostname
  exim4/dc_localdelivery: Maildir format in home directory
* exim4/dc_local_interfaces: 127.0.0.1
* exim4/dc_minimaldns: true
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames: myhostname
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
* exim4/no_config: true
* exim4/hide_mailname: false
* exim4/dc_postmaster: me
  exim4/dc_readhost: one.of.my.smart.hosts
* exim4/use_split_config: false
  exim4/exim4-config-title:




More information about the Pkg-exim4-maintainers mailing list