init script on openSuSE problem

Andrey V. Dudarev telsek at paragon-software.com
Thu Aug 2 13:29:22 IST 2007


On Thu, 2007-08-02 at 12:00 +0100,
mailscanner-request at lists.mailscanner.info wrote:
> On 02/08/07, Andrey V. Dudarev <telsek at paragon-software.com> wrote:
> > I use Mailscanner 4.62.9 on openSuse 10.2 x86-84 with sendmail.
> When I
> > restart Mailscanner with the help of init script from Suse tarball
> > sendmail doesn't start.
> > -------------------
> > mx10:/etc/init.d # /etc/init.d/MailScanner restart
> > Shutting down sendmail and MailScanner                     done
> > Initializing incoming sendmail
> > done
> > Initializing outgoing sendmail
> > done
> > Initializing MailScanner
> > mx10:/etc/init.d # ps ax | grep MailScanner
> > 10437 ?        Ss     0:00 MailScanner: starting children
> > 10438 ?        S      0:00 MailScanner: checking with SpamAssassin
> > 10479 ?        S      0:02 MailScanner: checking with SpamAssassin
> > 10481 ?        S      0:00 MailScanner: checking with SpamAssassin
> > 10491 ?        S      0:01 MailScanner: checking with SpamAssassin
> > 10505 pts/1    S+     0:00 grep MailScanner
> > mx10:/etc/init.d # telnet localhost 25
> > Trying 127.0.0.1...
> > telnet: connect to address 127.0.0.1: Connection refused
> > Trying ::1...
> > telnet: connect to address ::1: Connection refused
> > ------------------
> > Can you advise how to fix it?
> >
> Does your sendmail start up?
the matter that it is yes so

mx10:/etc/mail # /etc/init.d/MailScanner stop
Shutting down sendmail and MailScanner
done

mx10:/etc/mail # ps ax | grep Mail
16463 pts/1    S+     0:00 grep Mail
mx10:/etc/mail # ps ax | grep sendmail

mx10:/etc/mail # /etc/init.d/MailScanner start
Initializing incoming sendmail
done
Initializing outgoing sendmail
done
Initializing MailScanner

mx10:/etc/mail # mx10:/var/run # ps ax | grep Mail
16517 ?        Ss     0:00 MailScanner: master waiting for children,
sleeping
16518 ?        S      0:00 MailScanner: checking with SpamAssassin
16520 ?        S      0:00 MailWatch SQL
16545 ?        S      0:00 MailScanner: waiting for messages
16552 ?        S      0:00 MailScanner: waiting for messages
16568 ?        S      0:00 MailScanner: waiting for messages
16592 ?        S      0:00 MailScanner: waiting for messages
16656 ?        S      0:01 MailScanner: checking with SpamAssassin
16659 pts/1    S+     0:00 grep Mail
16494 ?        Ss     0:00 sendmail: Queue control
16495 ?        S      0:00 sendmail: running
queue: /var/spool/clientmqueue
16498 ?        Ss     0:00 sendmail: Queue runner at 00:30:00
for /var/spool/mqueue
16499 ?        S      0:00 sendmail: ./l72BYOMe002289 www.jerboa.com.:
user open
16551 pts/1    S+     0:00 grep sendmail

mx10:/etc/mail # mx10:/var/run # ps ax | grep sendmail
16494 ?        Ss     0:00 sendmail: Queue control
16495 ?        S      0:00 sendmail: running
queue: /var/spool/clientmqueue
16498 ?        Ss     0:00 sendmail: Queue runner at 00:30:00
for /var/spool/mqueue
16499 ?        S      0:00 sendmail: ./l72BYOMe002289 www.jerboa.com.:
user open
16551 pts/1    S+     0:00 grep sendmail

mx10:/etc/mail # telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused

> Do your sendmail listen on the loopback interface/address? 
yes
mx10:/var/log # netstat -anp | grep LISTEN
tcp        0      0 127.0.0.1:11553         0.0.0.0:*
LISTEN      16444/MailWatch SQL
tcp        0      0 0.0.0.0:5666            0.0.0.0:*
LISTEN      3296/nrpe
tcp        0      0 0.0.0.0:3306            0.0.0.0:*
LISTEN      3394/mysqld
tcp        0      0 127.0.0.1:2544          0.0.0.0:*
LISTEN      3308/zmd
tcp        0      0 0.0.0.0:4949            0.0.0.0:*
LISTEN      3396/munin-node
tcp        0      0 0.0.0.0:25              0.0.0.0:*
LISTEN      3418/sendmail: acce





More information about the MailScanner mailing list