1752803 Members
5070 Online
108789 Solutions
New Discussion юеВ

Re: Sendmail delay

 

Sendmail delay

Attached is copy of mail.log. I would like to find out why there was an 1.30 hr delay in delivering mail to recipient??
16 REPLIES 16
someone_4
Honored Contributor

Re: Sendmail delay

Like I posed in your other post

Are your emails sitting in the mail queue?
run
#mailq
if you have allot of messages in your mailq
then run
#sendmail -q -v
this will clear out your messages.

in my /etc/mail/sendmail.cf
I have this set for 5 minutes.

# minimum time in queue before retry
O MinQueueAge=15m

MinQueueAge=age
[no short name] Don't process any queued jobs that have been in the queue less than the indicated time interval. This is intended to allow you to get responsiveness by processing the queue fairly frequently without thrashing your system by trying jobs too often. The default units are minutes


and about posting messages in the wrong place. They are pretty good about catching them and putting them in the right section.

Richard
Clemens van Everdingen
Honored Contributor

Re: Sendmail delay

Like posted in other thread:

Hi,

Has the load of your system been very high between this time ?
Sendmail stops working if the load is above some point.
This is somewhere in the sendmail.cf file.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !

Re: Sendmail delay

Richard, we use sendmail to notify us when we system shuts down and rebooted (scheduled every Sun night) thru email paging (myairmail.com). Everything was working fine until we had to move to (myairmail.com) from (airtouch.com). That's when things started to slow and page out of sequence. Hence the mail.log. We don't send any local emails on unix side unless it's a sysadmin nature, therefore not a lot gets queued. Sendmail.cf file is commented on MinQueAge.

Re: Sendmail delay

Clemens, this email page is supposed to transmit after a system reboot. Not a lot happening during startup.
someone_4
Honored Contributor

Re: Sendmail delay

what does

nslookup airtouch.com
come up with?
and what happends if you send an email to a user on airtouch.com??

echo test | sendmail -v whoever@airtouch.com

richard

Re: Sendmail delay

Richard, we have to send to myairmail.com now. airtouch.com was bought by myairmail.com.

nslookup returns
myairmail.com
168.201.2.217

Mail works thru myairmail.com, it just sometimes takes it a while to process. As I said before, only sysadmin stuff gets mailed to our text pagers by email.
someone_4
Honored Contributor

Re: Sendmail delay

When you do

echo test | sendmail -v whoever@myairmail.com

does it say something like message queued for future delivery?

Is mail delayed when you try to send from other email services besides the one on your unix server?

Richard

Re: Sendmail delay

Richard, yes it does.

Name server timeout
Transient parse error -- message queued for future delivery
queued
someone_4
Honored Contributor

Re: Sendmail delay

Do you have your dns servers in /etc/resolv.conf ?
and in /etc/nsswitch.conf do you have dns for hosts?

Richard