Package: sendmail
Version: 8.13.4-3
Severity: important
apt-get install sendmail gives this error:
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR:
FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR:
FEATURE() should be before MAILER()
This is because the masquerade information was appended to the file
rather than inserted above the mailer lines.
-- Package-specific info:
Ouput of /usr/share/bug/sendmail/script:
ls -alR /etc/mail:
/etc/mail:
total 188
drwxr-sr-x 7 smmta smmsp 1024 2005-09-17 09:03 .
drwxr-xr-x 60 root root 3072 2005-09-17 09:03 ..
-rw--- 1 root root 4211 2005-09-17 09:03 access
-rw-r- 1 smmta smmsp 12288 2005-09-17 09:03 access.db
-rw-r--r-- 1 root root281 2005-06-03 17:51 address.resolve
lrwxrwxrwx 1 root smmsp10 2005-09-17 09:03 aliases - ../aliases
-rw-r- 1 smmta smmsp 12288 2005-09-17 09:03 aliases.db
-rw-r--r-- 1 root root 3038 2005-09-17 09:02 databases
-rw-r--r-- 1 root root 5588 2005-06-03 19:00 helpfile
-rw-r--r-- 1 root smmsp32 2005-09-17 09:03 local-host-names
drwxr-sr-x 2 smmta smmsp 1024 2005-09-17 09:01 m4
-rwxr-xr-- 1 root smmsp 9096 2005-09-17 09:03 Makefile
drwxr-xr-x 2 root root 1024 2005-09-17 09:00 peers
drwxr-xr-x 2 root smmsp 1024 2005-06-03 17:51 sasl
-rw-r--r-- 1 root smmsp 63565 2005-09-17 09:03 sendmail.cf
-rw-r--r-- 1 root smmsp 269 2005-09-17 09:03 sendmail.cf.errors
-rw-r--r-- 1 root root 11882 2005-09-17 09:03 sendmail.conf
-rw-r--r-- 1 root smmsp 3982 2005-09-17 09:01 sendmail.mc
-rw-r--r-- 1 root root149 2005-06-03 17:51 service.switch
-rw-r--r-- 1 root root180 2005-06-03 17:51 service.switch-nodns
drwxr-sr-x 2 smmta smmsp 1024 2005-09-17 09:01 smrsh
-rw-r--r-- 1 root smmsp 43611 2005-09-17 09:03 submit.cf
-rw-r--r-- 1 root smmsp 2284 2005-09-17 09:01 submit.mc
drwxr-xr-x 2 smmta smmsp 1024 2005-09-17 09:02 tls
-rw-r--r-- 1 root smmsp 0 2005-09-17 09:03 trusted-users
/etc/mail/m4:
total 2
drwxr-sr-x 2 smmta smmsp 1024 2005-09-17 09:01 .
drwxr-sr-x 7 smmta smmsp 1024 2005-09-17 09:03 ..
-rw-r- 1 root smmsp0 2005-09-17 09:01 dialup.m4
-rw-r- 1 root smmsp0 2005-09-17 09:01 provider.m4
/etc/mail/peers:
total 3
drwxr-xr-x 2 root root 1024 2005-09-17 09:00 .
drwxr-sr-x 7 smmta smmsp 1024 2005-09-17 09:03 ..
-rw-r--r-- 1 root root 328 2005-06-03 17:51 provider
/etc/mail/sasl:
total 2
drwxr-xr-x 2 root smmsp 1024 2005-06-03 17:51 .
drwxr-sr-x 7 smmta smmsp 1024 2005-09-17 09:03 ..
/etc/mail/smrsh:
total 2
drwxr-sr-x 2 smmta smmsp 1024 2005-09-17 09:01 .
drwxr-sr-x 7 smmta smmsp 1024 2005-09-17 09:03 ..
lrwxrwxrwx 1 root smmsp 26 2005-09-17 09:01 mail.local -
/usr/lib/sm.bin/mail.local
lrwxrwxrwx 1 root smmsp 17 2005-09-17 09:01 procmail - /usr/bin/procmail
/etc/mail/tls:
total 19
drwxr-xr-x 2 smmta smmsp 1024 2005-09-17 09:02 .
drwxr-sr-x 7 smmta smmsp 1024 2005-09-17 09:03 ..
-rw-r--r-- 1 root root 7 2005-09-17 09:01 no_prompt
-rw--- 1 root root 1191 2005-09-17 09:01 sendmail-client.cfg
-rw-r--r-- 1 root smmsp 1237 2005-09-17 09:02 sendmail-client.crt
-rw--- 1 root root 1017 2005-09-17 09:02 sendmail-client.csr
-rw-r- 1 root smmsp 1679 2005-09-17 09:02 sendmail-common.key
-rw--- 1 root root 0 2005-09-17 09:01 sendmail-common.prm
-rw--- 1 root root 1191 2005-09-17 09:01 sendmail-server.cfg
-rw-r--r-- 1 root smmsp 1237 2005-09-17 09:02 sendmail-server.crt
-rw--- 1 root root 1017 2005-09-17 09:02 sendmail-server.csr
-rwxr--r-- 1 root root 3132 2005-09-17 09:01 starttls.m4
sendmail.conf:
DAEMON_NETMODE=Static;
DAEMON_NETIF=lo;
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.13.4-3 2005-06-03 16:49:22 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, 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(`access_db', , `skip')dnl
FEATURE(`greet_pause', `1000')dnl 1 seconds