On Wed, Jun 05, 2002 at 12:23:49AM -0700, Linux Rockz wrote:
> Hi there,
> 
> I have a mail server running on sendmail 8.12.3 on linux. Recently I have
> had several problems with it.
> 
> I found that if I did a `ps -ax | grep sendmail` , the output was
> 18488 ?        S      0:46 sendmail: rejecting connections on daemon MTA:
> load a

This means that the system load average was too high, so sendmail stopped
listening on port 25. Check your system load. I believe sendmail is comfortable
with loads up 12 or so. Check your sendmail.cf. QueueLA and RefuseLA are what
you should search for.

Of course, the fix is to find why your load went high. Use top to do that.

> After restarting sendmail, I found the following output to `ps -ax | grep
> sendmail`:
>  3772 ?        S      0:01 sendmail: accepting connections
>  5440 ?        S      2:18 sendmail: ./g4UFJX9M011501 mx02.comstar.net.:
> user op
>  5950 ?        S      1:56 sendmail: ./g4U57q9n028105 ns02.vdma.org.: client
> gre
>  7494 ?        S      0:17 sendmail: ./g4UFEh9N011357 mail.anti-social.com.:
> use
>  7876 ?        D      0:04 sendmail: running queue: /var/spool/mqueue

These are all normal sendmail listings in ps(1) output. Dont worry about them.

> I have appended the end of my /var/log/maillog file below just in case it
> proves useful.

You missed telling us how many mails were there in your mail queue :-(

> Thanks in advance for any help you may be able to send my way.

I have a feeling your mail queue has become unmanageable. There might be a
misformatted mail stuck there. Do this:

Stop sendmail.
Run mailq. See how many mails are there (the number comes at the top of the
listing).
Run sendmail -q -v to see how it processes the queue. In particular, check if
any mail in the queue chokes sendmail.
If you find such a mail, note its queue id.
Check in /var/spool/mqueue. You will find a dfxxxxx file and a qfxxxxx file there,
where xxxxxx is the queue id you noted earlier. Check the contents of the mail
to see what is wrong with it, or if it can be deleted.
If it can, remove the *xxxxxx, where xxxxxx is the queue id.
Complete sendmail -q -v
Start sendmail daemon.

Things should be ok after that.

Binand
 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to