Package: sendmail-cf
Version: 8.14.3-5
Severity: normal

After upgrading some machines from etch to lenny, we noticed that local mail
submission no longer functioned.

submit.mc on etch machines and etch->lenny upgraded machines both have:

FEATURE(`msp', `[127.0.0.1]', `MSA')dnl

It seems that sendmail did not require SMTP auth on port 587 in etch, but
does in lenny? Interestingly, fresh lenny installs have:

FEATURE(`msp', `[127.0.0.1]', `25')dnl

[...@lenny:pts/2 /etc/mail> sudo sendmail -v j...@isis.example.com
j...@isis.example.com... Connecting to [127.0.0.1] port 587 via relay...
220 lenny.example.com ESMTP Sendmail 8.14.3/8.14.3/Debian-5; Fri, 10 Jul 2009 
14:46:03 GMT; (No UCE/UBE) logging access from: localhost(OK)-sm...@localhost 
[127.0.0.1]
>>> EHLO lenny.example.com
250-lenny.example.com Hello sm...@localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<j...@lenny.example.com>
530 5.7.0 Authentication required
jwm... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> RSET
250 2.0.0 Reset state
>>> MAIL From:<> SIZE=1024
530 5.7.0 Authentication required
postmaster... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> RSET
250 2.0.0 Reset state
>>> MAIL From:<> SIZE=2048
530 5.7.0 Authentication required
MAILER-DAEMON... Saved message in /var/lib/sendmail/dead.letter
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 lenny.example.com closing connection


[...@etch:pts/82 ~> sendmail -v j...@isis.example.com
j...@isis.example.com... Connecting to [127.0.0.1] port 587 via relay...
220 etch.example.com ESMTP Sendmail 8.13.8/8.13.8/Debian-3; Fri, 10 Jul 2009 
14:46:49 GMT; (No UCE/UBE) logging access from: localhost(OK)-...@localhost 
[127.0.0.1]
>>> EHLO etch.example.com
250-etch.example.com Hello j...@localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<j...@etch.example.com> auth=...@etch.example.com
250 2.1.0 <j...@etch.example.com>... Sender ok
>>> RCPT To:<j...@isis.example.com>
>>> DATA
250 2.1.5 <j...@isis.example.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <j...@isis.example.com>... Connecting to relay.example.com. via relay...
050 220 mailhub.example.com ESMTP Postfix
050 >>> EHLO etch.example.com
050 250-mailhub.example.com
050 250-PIPELINING
050 250-SIZE 26214400
050 250-ETRN
050 250-AUTH PLAIN LOGIN
050 250-AUTH=PLAIN LOGIN
050 250-ENHANCEDSTATUSCODES
050 250-8BITMIME
050 250 DSN
050 >>> MAIL From:<j...@relay.example.com> SIZE=365 AUTH=<>
050 250 2.1.0 Ok
050 >>> RCPT To:<j...@isis.example.com>
050 >>> DATA
050 250 2.1.5 Ok
050 354 End data with <CR><LF>.<CR><LF>
050 >>> .
050 250 2.0.0 Ok: queued as 42A3918E2C7 on mailhub.example.com
050 <j...@isis.example.com>... Sent (Ok: queued as 42A3918E2C7 on 
mailhub.example.com)
250 2.0.0 n6AEknQG005348 Message accepted for delivery
j...@isis.example.com... Sent (n6AEknQG005348 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 etch.example.com closing connection

-- Package-specific info:
Ouput of /usr/share/bug/sendmail-cf/script:

ls -alR /etc/mail:
/etc/mail:
total 252
drwxr-sr-x  7 smmta smmsp  4096 2009-07-10 14:35 .
drwxr-xr-x 79 root  root   4096 2009-07-10 14:39 ..
-rwxr-xr--  1 root  smmsp 10024 2009-07-10 14:35 Makefile
-rw-------  1 root  root   4211 2009-07-10 14:35 access
-rw-r-----  1 smmta smmsp 12288 2009-07-10 14:35 access.db
-rw-r--r--  1 root  root    281 2006-12-09 04:22 address.resolve
lrwxrwxrwx  1 root  smmsp    10 2009-07-10 13:07 aliases -> ../aliases
-rw-r-----  1 smmta smmsp 12288 2009-07-10 13:07 aliases.db
-rw-r--r--  1 root  root   3248 2009-07-10 14:35 databases
-rw-r--r--  1 root  root   5657 2008-07-15 22:31 helpfile
-rw-r--r--  1 root  smmsp    42 2009-07-10 13:07 local-host-names
drwxr-sr-x  2 smmta smmsp  4096 2009-07-10 13:07 m4
drwxr-xr-x  2 root  root   4096 2009-07-10 14:19 peers
drwxr-xr-x  2 root  smmsp  4096 2006-12-09 04:22 sasl
-rw-r--r--  1 root  smmsp 65632 2009-07-10 14:35 sendmail.cf
-rw-r--r--  1 root  smmsp   442 2009-07-10 14:35 sendmail.cf.errors
-rw-r--r--  1 root  root  12236 2009-07-10 14:35 sendmail.conf
-rw-r--r--  1 root  smmsp  4327 2009-07-10 14:35 sendmail.mc
-rw-r--r--  1 root  smmsp  4217 2009-07-10 14:22 sendmail.mc.old
-rw-r--r--  1 root  root    149 2006-12-09 04:22 service.switch
-rw-r--r--  1 root  root    180 2006-12-09 04:22 service.switch-nodns
drwxr-sr-x  2 smmta smmsp  4096 2009-07-10 13:07 smrsh
-rw-r--r--  1 root  smmsp 43900 2009-07-10 14:35 submit.cf
-rw-r--r--  1 root  smmsp  2284 2009-07-10 14:35 submit.mc
drwxr-xr-x  2 smmta smmsp  4096 2009-07-10 13:07 tls
-rw-r--r--  1 root  smmsp     0 2009-07-10 13:07 trusted-users

/etc/mail/m4:
total 12
drwxr-sr-x 2 smmta smmsp 4096 2009-07-10 13:07 .
drwxr-sr-x 7 smmta smmsp 4096 2009-07-10 14:35 ..
-rw-r----- 1 root  smmsp  834 2009-07-10 14:17 dialup.m4
-rw-r----- 1 root  smmsp    0 2009-07-10 13:07 provider.m4

/etc/mail/peers:
total 12
drwxr-xr-x 2 root  root  4096 2009-07-10 14:19 .
drwxr-sr-x 7 smmta smmsp 4096 2009-07-10 14:35 ..
-rw-r--r-- 1 root  root   328 2006-12-09 04:22 provider

/etc/mail/sasl:
total 8
drwxr-xr-x 2 root  smmsp 4096 2006-12-09 04:22 .
drwxr-sr-x 7 smmta smmsp 4096 2009-07-10 14:35 ..

/etc/mail/smrsh:
total 8
drwxr-sr-x 2 smmta smmsp 4096 2009-07-10 13:07 .
drwxr-sr-x 7 smmta smmsp 4096 2009-07-10 14:35 ..
lrwxrwxrwx 1 root  smmsp   26 2009-07-10 13:07 mail.local -> 
/usr/lib/sm.bin/mail.local
lrwxrwxrwx 1 root  smmsp   17 2009-07-10 13:07 procmail -> /usr/bin/procmail

/etc/mail/tls:
total 44
drwxr-xr-x 2 smmta smmsp 4096 2009-07-10 13:07 .
drwxr-sr-x 7 smmta smmsp 4096 2009-07-10 14:35 ..
-rw-r--r-- 1 root  root     7 2009-07-10 13:07 no_prompt
-rw------- 1 root  root  1191 2009-07-10 13:07 sendmail-client.cfg
-rw-r--r-- 1 root  smmsp 1314 2009-07-10 13:07 sendmail-client.crt
-rw------- 1 root  root  1058 2009-07-10 13:07 sendmail-client.csr
-rw-r----- 1 root  smmsp 1675 2009-07-10 13:07 sendmail-common.key
-rw------- 1 root  smmsp    0 2009-07-10 13:07 sendmail-common.prm
-rw------- 1 root  root  1191 2009-07-10 13:07 sendmail-server.cfg
-rw-r--r-- 1 root  smmsp 1314 2009-07-10 13:07 sendmail-server.crt
-rw------- 1 root  root  1058 2009-07-10 13:07 sendmail-server.csr
-rwxr--r-- 1 root  root  3277 2009-07-10 14:35 starttls.m4

sendmail.conf:
DAEMON_NETMODE="Static";
DAEMON_NETIF="eth0";
DAEMON_MODE="Daemon";
DAEMON_PARMS="";
DAEMON_HOSTSTATS="No";
DAEMON_MAILSTATS="No";
QUEUE_MODE="${DAEMON_MODE}";
QUEUE_INTERVAL="10m";
QUEUE_PARMS="";
MSP_MODE="Cron";
MSP_INTERVAL="20m";
MSP_PARMS="";
MSP_MAILSTATS="${DAEMON_MAILSTATS}";
MISC_PARMS="";
CRON_MAILTO="root";
CRON_PARMS="";
LOG_CMDS="No";
HANDS_OFF="No";
AGE_DATA="";
DAEMON_RUNASUSER="No";
DAEMON_STATS="${DAEMON_MAILSTATS}";
MSP_STATS="${MSP_MAILSTATS}";


sendmail.mc:
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.14.3-5 2008-07-15 22:30:00 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
undefine(`confHOST_STATUS_DIRECTORY')dnl        #DAEMON_HOSTSTATS=
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
DAEMON_OPTIONS(`Family=inet,  Name=MSP-v4, Port=submission, M=Ea, 
Addr=127.0.0.1')dnl
define(`confPRIVACY_FLAGS',dnl
`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`access_db', , `skip')dnl
FEATURE(`greet_pause', `1000')dnl 1 seconds
FEATURE(`delay_checks', `friend', `n')dnl
define(`confBAD_RCPT_THROTTLE',`3')dnl
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
include(`/etc/mail/m4/dialup.m4')dnl
include(`/etc/mail/m4/provider.m4')dnl
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl
LOCAL_CONFIG
EXPOSED_USER(root uucp)dnl # users exempt from masquerading
LOCAL_USER(root)dnl
MASQUERADE_AS(`host.example.com')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`nullclient', mailhub.example.com)dnl
LOCAL_CONFIG

submit.mc...
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: submit.mc, v 8.13.8-3 2006-12-08 20:21:10 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
FEATURE(`msp', `[127.0.0.1]', `MSA')dnl


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-etchnhalf.1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sendmail-cf depends on:
ii  m4                            1.4.11-1   a macro processing language

sendmail-cf recommends no packages.

Versions of packages sendmail-cf suggests:
pn  sendmail-doc                  <none>     (no description available)

Versions of packages sensible-mda depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  procmail                      3.22-16    Versatile e-mail processor
ii  sendmail-bin [mail-transport- 8.14.3-5   powerful, efficient, and scalable 

Versions of packages rmail depends on:
ii  libc6      2.7-18                       GNU C Library: Shared libraries
ii  libldap-2. 2.4.17~cvs20090511-1example2 OpenLDAP libraries
ii  sendmail-b 8.14.3-5                     powerful, efficient, and scalable 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to