Bug#286680: exim4-config: Should set submission mode for relay_from_local/authenticated connections

Marc Sherman Marc Sherman <msherman@projectile.ca>, 286680@bugs.debian.org
Tue, 21 Dec 2004 08:41:35 -0500


This is a multi-part MIME message sent by reportbug.

--===============0999433655==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: exim4-config
Version: 4.34-8
Severity: normal
Tags: patch

The config files should set submission mode for incomming authenticated
and relay_from_local connections, so that exim will fix up mail from
buggy apps/muas.

For more info, see this thread:
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20041220/msg00024.html

The included patch is against the single-file config, but it should be
obvious how to patch the seperate config files.

Thanks,
- Marc

-- Package-specific info:
Exim version 4.34 #1 built 20-Nov-2004 11:32:14
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 PAM Perl GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Contains exiscan-acl patch revision 21 (c) Tom Kistner [http://duncanthrax.net/exiscan/]
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='smarthost'
dc_other_hostnames='projectile.dyndns.org:lab403.com:groundworksdesign.ca:redthreaddesign.ca'
dc_local_interfaces=''
dc_readhost='projectile.ca'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='192.168.1.0/24'
dc_smarthost='mail.magma.ca'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
mailname:projectile.ca

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages exim4-config depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf [debconf-2.0]       1.4.30.10    Debian configuration management sy
ii  passwd                      1:4.0.3-30.4 Change and administer password and

-- debconf information:
  exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: mail.magma.ca
  exim4/dc_relay_domains:
* exim4/dc_relay_nets: 192.168.1.0/24
* exim4/mailname: projectile.ca
* exim4/dc_local_interfaces:
* exim4/dc_minimaldns: false
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames: projectile.dyndns.org:lab403.com:groundworksdesign.ca:redthreaddesign.ca
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
  exim4/no_config: true
* exim4/hide_mailname: true
* exim4/dc_postmaster: msherman
* exim4/dc_readhost: projectile.ca
* exim4/use_split_config: false
  exim4/exim4-config-title:

--===============0999433655==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="exim4.conf.template.diff"

--- exim4.conf.template.orig	2004-12-21 08:31:24.000000000 -0500
+++ exim4.conf.template	2004-12-21 08:32:05.000000000 -0500
@@ -452,12 +452,14 @@
   # add recipient verification here.
   #
   accept hosts = +relay_from_hosts
+         control = submission
 
   # Accept if the message arrived over an authenticated connection, from
   # any host. Again, these messages are usually from MUAs, so recipient
   # verification is omitted.
   #
   accept authenticated = *
+         control = submission
 
   # Reaching the end of the ACL causes a "deny", but we might as well give
   # an explicit message.

--===============0999433655==--