Why so many sendmail processes exist?

  • Follow


We haven't configured the sendmail and this sun server not used as mail 
server or gateway.

$ ps -ef |grep sendmail
   smmsp  6102  5956  9 14:55:01 ?        6:20 /usr/lib/sendmail -Ac -q15m
   smmsp  5956     1  0 14:25:01 ?        0:00 /usr/lib/sendmail -Ac -q15m
   smmsp  5957  5956  9 14:25:01 ?       13:47 /usr/lib/sendmail -Ac -q15m
   smmsp  6060  5956  9 14:40:01 ?        9:44 /usr/lib/sendmail -Ac -q15m
   user1  6179  5125  0 15:14:10 pts/2    0:00 grep sendmail
   smmsp  6160  5956  1 15:10:01 ?        0:10 /usr/lib/sendmail -Ac -q15m

$ uname -a
SunOS sun_server1 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-Enterprise

$ pkginfo -l SUNWsndmu
   PKGINST:  SUNWsndmu
      NAME:  Sendmail user
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.9.0,REV=2002.04.06.15.27
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  sendmail user
    PSTAMP:  leo20030923154856
  INSTDATE:  Jun 16 2005 10:19
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      106 installed pathnames
                   8 shared pathnames
                  16 directories
                  14 executables
                   2 setuid/setgid executables
                5581 blocks used (approx)

Thanks





0
Reply newbie 7/25/2006 8:30:23 AM

newbie wrote:
> We haven't configured the sendmail and this sun server not used as mail 
> server or gateway.
> 
> $ ps -ef |grep sendmail
>    smmsp  6102  5956  9 14:55:01 ?        6:20 /usr/lib/sendmail -Ac -q15m
>    smmsp  5956     1  0 14:25:01 ?        0:00 /usr/lib/sendmail -Ac -q15m
>    smmsp  5957  5956  9 14:25:01 ?       13:47 /usr/lib/sendmail -Ac -q15m
>    smmsp  6060  5956  9 14:40:01 ?        9:44 /usr/lib/sendmail -Ac -q15m
>    user1  6179  5125  0 15:14:10 pts/2    0:00 grep sendmail
>    smmsp  6160  5956  1 15:10:01 ?        0:10 /usr/lib/sendmail -Ac -q15m

the processes are exactly 15 minutes apart, I suspect there is something
in the mail queue that is hanging (-q15m tries to process the queue every
15 minutes).
Check /var/spool/mqueue/ perhaps also /var/spool/clientmqueue/
and of course /var/log/syslog
0
Reply Oscar 7/25/2006 12:28:14 PM


Thanks for your help.
yes, too many mails hung in /var/spool/clientmqueue/,  /var/log/syslog
showed following:

Jul 26 08:51:41 sun_server1 sendmail[1342]: [ID 801593 mail.info] 
k6O3nVlR002113: to=postmaster, delay=1+13:26:45, xdelay=00:00:00, mai
ler=relay, pri=2463569, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 
Connection refused by [127.0.0.1]
Jul 26 08:51:41 sun_server1 sendmail[2206]: [ID 801593 mail.info] 
k6P8Cmp3000594: to=postmaster, delay=14:46:16, xdelay=00:00:00, maile
r=relay, pri=3276978, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 
Connection refused by [127.0.0.1]
Jul 26 08:51:41 sun_server1 sendmail[2206]: [ID 801593 mail.info] 
k6P8Cmp3000594: to=postmaster, delay=14:46:16, xdelay=00:00:00, maile
r=relay, pri=3276978, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 
Connection refused by [127.0.0.1]


# more /etc/hosts
#
# Internet host table
#
127.0.0.1       localhost
10.86.2.9       sun_server05    sun_server05.abced.com  loghost
10.86.2.10      sun_server06    sun_server06.abced.com  loghost

how to fix it?
Thanks again



"Oscar del Rio" <delrio@mie.utoronto.ca> wrote in message 
news:ea52p0$b58$1@news.mie...
> newbie wrote:
>> We haven't configured the sendmail and this sun server not used as mail 
>> server or gateway.
>>
>> $ ps -ef |grep sendmail
>>    smmsp  6102  5956  9 14:55:01 ?        6:20 
>> /usr/lib/sendmail -Ac -q15m
>>    smmsp  5956     1  0 14:25:01 ?        0:00 
>> /usr/lib/sendmail -Ac -q15m
>>    smmsp  5957  5956  9 14:25:01 ?       13:47 
>> /usr/lib/sendmail -Ac -q15m
>>    smmsp  6060  5956  9 14:40:01 ?        9:44 
>> /usr/lib/sendmail -Ac -q15m
>>    user1  6179  5125  0 15:14:10 pts/2    0:00 grep sendmail
>>    smmsp  6160  5956  1 15:10:01 ?        0:10 
>> /usr/lib/sendmail -Ac -q15m
>
> the processes are exactly 15 minutes apart, I suspect there is something
> in the mail queue that is hanging (-q15m tries to process the queue every
> 15 minutes).
> Check /var/spool/mqueue/ perhaps also /var/spool/clientmqueue/
> and of course /var/log/syslog 


0
Reply newbie 7/26/2006 5:03:42 AM

newbie wrote:
> yes, too many mails hung in /var/spool/clientmqueue/,  /var/log/syslog

Enable sendmail locally, forward postmaster e-mail to a real person
http://docs.sun.com/app/docs/doc/817-1717/6mhe95f69?q=sendmail&a=view
0
Reply Oscar 7/27/2006 11:06:12 AM

Thanks again.

"Oscar del Rio" <delrio@mie.utoronto.ca> wrote in message 
news:eaa6n7$nt9$1@news.mie...
> newbie wrote:
>> yes, too many mails hung in /var/spool/clientmqueue/,  /var/log/syslog
>
> Enable sendmail locally, forward postmaster e-mail to a real person
> http://docs.sun.com/app/docs/doc/817-1717/6mhe95f69?q=sendmail&a=view 


0
Reply newbie 7/28/2006 3:07:39 AM

4 Replies
1864 Views

(page loaded in 0.114 seconds)

Similiar Articles:













7/19/2012 6:06:43 PM


Reply: