Operating System - Linux
1825803 Members
2542 Online
109687 Solutions
New Discussion

Re: Rhel3 / e-mail / clientmqueue problem

 
joseph wholey
Regular Advisor

Rhel3 / e-mail / clientmqueue problem

Hello all... I need a little help here. I'm running sendmail on my RHEL3 server. Sending mail definitely works. However, I have a lot of mail stuck in the /var/spool/clientmqueue. This eventually causes a problem because sendmail attempts to send for 5 days (that's how we have it setup). How can I identify where the mail is coming from off of this server. I don't see anything w/in the files w/in /var/spool/clientmqueue. Any help would be greatly appreciated.

thx.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Rhel3 / e-mail / clientmqueue problem

Shalom,

So far, your setup seems default.

First outbound mail goes to /var/spool/mqueue

Then if its not delivered promptly it goes to /var/spool/clientmqueue

By the time it gets there its probably never going to get delivered.

the df files are the actual message.

the qf files maintains a status on the message like a little log files. after the first two characters the number should match.

If the files are empty they can be safely deleted.

Most common cause of undelivered mail ending up there:

1) Bad DNS resolution. This must be fixed. Absolute must for mail delivery.
2) invalid recipients, recipients blocked due to anti-spam rules.
3) Lack of a reverse dns entry for this server. Many systems like my own and AOL don't accept mail from mail servers with forged ip addresses, inconsistent ip addresses or servers that lack valid reverse dns records.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
George Liu_4
Trusted Contributor

Re: Rhel3 / e-mail / clientmqueue problem

No. Your sendmail does not work as you expexted. the clientmqueue saves the mail not sent yet
joseph wholey
Regular Advisor

Re: Rhel3 / e-mail / clientmqueue problem

How do I "hunt down" the offending processes?
joseph wholey
Regular Advisor

Re: Rhel3 / e-mail / clientmqueue problem

Sendmail is working as expected (I believe). i.e. if someone is sending mail to a non existent address, sendmail will keep it in the clientmqueue and continue attempting to send for 5 days. Is there anything in the message that indicates where it is being generated from?