Package: sendmail
Version: 8.14.4-4
Severity: normal

Dear Maintainer,

On my network, sendmail is configured to listen on specific addresses.
These are specified by DNS name; the DNS is local to my network.  It
appears that during the boot sequence sendmail is started before bind9
and so fails because the DNS names cannot be resolved.

I can start sendmail succesfully when the boot sequence has finished,
but I usually forget to do this until I notice that no mail is being
received.

Would it be possible to ensure that sendmail is not started until after
bind9, if bind9 is installed?


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

ls -alR /etc/mail:
/etc/mail:
total 368
drwxr-sr-x   7 root  smmsp  4096 Jun 26 17:07 .
drwxr-xr-x 193 root  root  12288 Jun 26 16:49 ..
-r--r--r--   1 root  root    931 Feb 12  2012 access
-r--r--r--   1 root  root   8192 Feb 12  2012 access.db
-rw-r--r--   1 root  root    281 Jul 15  2008 address.resolve
-r--r--r--   1 root  root   1452 May  9  2009 aliases
-rw-r-----   1 root  smmsp 12288 Feb  5  2010 aliases.db
-r--r--r--   1 root  root      0 Jan 12  2010 domaintable
-r--r--r--   1 root  root   8192 Jan 23  2010 domaintable.db
-r--r--r--   1 root  root     82 Feb 12  2012 genericstable
-r--r--r--   1 root  root   8192 Feb 12  2012 genericstable.db
-rw-r--r--   1 root  root   5657 Jan 29  2010 helpfile
-r--r--r--   1 root  root    210 Feb 12  2012 local-host-names
drwxr-sr-x   2 smmta smmsp    63 May 30 14:19 m4
-r--r--r--   1 root  root     52 Feb 12  2012 mailertable
-r--r--r--   1 root  root   8192 Feb 12  2012 mailertable.db
drwxr-xr-x   2 root  root     21 May 30 14:08 peers
drwxr-xr-x   2 root  smmsp     6 Jul 15  2008 sasl
-r--r--r--   1 daves daves 67531 Jun 11 14:37 sendmail.cf
-rw-r--r--   1 root  root  67477 May 30 14:08 sendmail.cf.old
-rw-r--r--   1 root  root  12237 May 30 14:08 sendmail.conf
-r--r-----   1 daves daves  4555 Jan  7 16:12 sendmail.mc
-rw-r--r--   1 root  root    149 Jul 15  2008 service.switch
-rw-r--r--   1 root  root    180 Jul 15  2008 service.switch-nodns
drwxr-sr-x   2 smmta smmsp    38 Feb  4  2010 smrsh
lrwxrwxrwx   1 root  root     15 Feb  4  2010 spamassassin -> ../spamassassin
-r--r--r--   1 daves daves 42371 Oct 12  2011 submit.cf
-rw-r--r--   1 root  root  42371 May 30 14:08 submit.cf.old
-r--r-----   1 daves adm     858 Oct 12  2011 submit.mc
drwxr-xr-x   2 root  smmsp     6 Sep 21  2010 tls
-r--r--r--   1 root  root      5 Sep 12  2004 trusted-users
-r--r--r--   1 root  root    192 Jan  7 15:33 virtusertable
-r--r--r--   1 root  root   8192 Jan  7 15:47 virtusertable.db

/etc/mail/m4:
total 8
drwxr-sr-x 2 smmta smmsp   63 May 30 14:19 .
drwxr-sr-x 7 root  smmsp 4096 Jun 26 17:07 ..
-rw-r--r-- 1 root  root   789 Mar 18  2009 clamav-milter.m4
-rw-r----- 1 root  smmsp    0 Feb  4  2010 dialup.m4
-rw-r----- 1 root  smmsp    0 Feb  4  2010 provider.m4

/etc/mail/peers:
total 8
drwxr-xr-x 2 root root    21 May 30 14:08 .
drwxr-sr-x 7 root smmsp 4096 Jun 26 17:07 ..
-rw-r--r-- 1 root root   328 Jul 15  2008 provider

/etc/mail/sasl:
total 4
drwxr-xr-x 2 root smmsp    6 Jul 15  2008 .
drwxr-sr-x 7 root smmsp 4096 Jun 26 17:07 ..

/etc/mail/smrsh:
total 4
drwxr-sr-x 2 smmta smmsp   38 Feb  4  2010 .
drwxr-sr-x 7 root  smmsp 4096 Jun 26 17:07 ..
lrwxrwxrwx 1 root  smmsp   26 Feb  4  2010 mail.local -> 
/usr/lib/sm.bin/mail.local
lrwxrwxrwx 1 root  smmsp   17 Feb  4  2010 procmail -> /usr/bin/procmail

/etc/mail/tls:
total 4
drwxr-xr-x 2 root smmsp    6 Sep 21  2010 .
drwxr-sr-x 7 root smmsp 4096 Jun 26 17:07 ..

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="Yes";
AGE_DATA="";
DAEMON_RUNASUSER="No";
DAEMON_STATS="${DAEMON_MAILSTATS}";
MSP_STATS="${MSP_MAILSTATS}";


sendmail.mc:
divert(-1)
include(`../m4/cf.m4')dnl
Djmail.dandasparks.org.uk
OSTYPE(`debian')dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
define(`confBIND_OPTS', `-DNSRCH')dnl
define(`confALIAS_WAIT', `30')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST', `true')dnl
define(`confDONT_PROBE_INTERFACES', true)dnl
define(`confDEAD_LETTER_DROP', `/var/tmp/dead.letter')dnl
define(`confMILTER_MACROS_EOM', `{msg_id}, {mail_addr}, {rcpt_addr}, i')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`SMART_HOST', `smtp.aaisp.net.uk')
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Family=inet6,   Address=mail.dandasparks.org.uk,                
        Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet,    Address=mail.dandasparks.org.uk,                
        Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6,   Address=mail.dandasparks.org.uk,    Port=587,   
M=Ea,   Name=MSA-auth')dnl
DAEMON_OPTIONS(`Family=inet,    Address=mail.dandasparks.org.uk,    Port=587,   
M=Ea,   Name=MSA-auth')dnl
DAEMON_OPTIONS(`Family=inet6,   Address=mailhost.dandasparks.org.uk,            
M=E,    Name=MSA-danda')dnl
DAEMON_OPTIONS(`Family=inet,    Address=mailhost.dandasparks.org.uk,            
M=E,    Name=MSA-danda')dnl
DAEMON_OPTIONS(`Family=inet6,   Address=mailhost.thessaly,                      
M=E,    Name=MSA-thess')dnl
DAEMON_OPTIONS(`Family=inet,    Address=mailhost.thessaly,                      
M=E,    Name=MSA-thess')dnl
CLIENT_OPTIONS(`Family=inet6,   Address=mail.dandasparks.org.uk')dnl
CLIENT_OPTIONS(`Family=inet,    Address=mail.dandasparks.org.uk')dnl
FEATURE(`local_no_masquerade')dnl
FEATURE(`masquerade_envelope')dnl
MASQUERADE_AS(`dandasparks.org.uk')dnl
FEATURE(`domaintable', `btree /etc/mail/domaintable')dnl
FEATURE(`genericstable', `btree /etc/mail/genericstable')dnl
GENERICS_DOMAIN(`dandasparks.org.uk')dnl
FEATURE(`virtusertable', `btree /etc/mail/virtusertable')dnl
FEATURE(`virtuser_entire_domain')dnl
VIRTUSER_DOMAIN(`dandasparks.org.uk')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable', `btree /etc/mail/mailertable')dnl
define(`_SENDER_BASED_ROUTING_')dnl
FEATURE(`redirect')dnl
FEATURE(`nouucp', `reject')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`local_procmail')dnl
FEATURE(`access_db', `btree -T<TMPF> /etc/mail/access')dnl
FEATURE(`delay_checks')dnl
INPUT_MAIL_FILTER(`spfmilter',`S=unix:/var/run/spfmilter/spfmilter.sock, 
T=S:8m;R:8m')
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clamav-milter.ctl, F=, 
T=S:4m;R:4m')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
define(`confAUTH_OPTIONS', `Apy')dnl
define(`confTO_STARTTLS', `2m')dnl
define(`confCACERT_PATH', `/etc/ssl/certs')dnl
define(`CERT_DIR', `/srv/ssl/certs')dnl
define(`confSERVER_CERT', `CERT_DIR/mail.crt')dnl
define(`confSERVER_KEY', `CERT_DIR/mail.key')dnl
define(`confCLIENT_CERT', `CERT_DIR/mail.crt')dnl
define(`confCLIENT_KEY', `CERT_DIR/mail.key')dnl
define(`confTLS_SRV_OPTIONS', `Vs')dnl
define(`confPRIVACY_FLAGS', `goaway,restrictqrun,restrictmailq')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
LOCAL_RULE_0`'dnl
R$+                             $: <!> $1               Mark
R<!> $+ ^ $+ < @ $=w . >        $: $1 + $2 < @ $3 . >   ^ with local domain or 
host
R<!> $+ < @ $* >                $: $1 < @ $2 >          No ^ with domain or host
R<!> $+ ^ $+                    $: $1 + $2              ^ with no domain or host
R<!> $+                         $: $1                   Else no ^ with no 
domain or host

submit.mc...
divert(-1)
include(`../m4/cf.m4')dnl
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
define(`confCF_VERSION', `Submit')dnl
define(`confBIND_OPTS', `-DNSRCH')dnl
FEATURE(`msp', `[mailhost]')dnl
CLIENT_OPTIONS(`Family=inet6,   Address=mailhost.dandasparks.org.uk')dnl
CLIENT_OPTIONS(`Family=inet,    Address=mailhost.dandasparks.org.uk')dnl


-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sendmail depends on:
ii  sendmail-base  8.14.4-4
ii  sendmail-bin   8.14.4-4
ii  sendmail-cf    8.14.4-4
ii  sensible-mda   8.14.4-4

sendmail recommends no packages.

Versions of packages sendmail suggests:
pn  rmail         <none>
ii  sendmail-doc  8.14.4-4

Versions of packages sensible-mda depends on:
ii  libc6                                2.13-38
ii  procmail                             3.22-20
ii  sendmail-bin [mail-transport-agent]  8.14.4-4

-- 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