Hi all,
I would like some help with a sendmail problem:
We have a new system comprising of 4 T7-1 servers, each hosting 5 LDOMs, all domains running Solaris 11.3
All emails sent from every one of these domains (including the control domains) sit in the queue for 3 mins 11 secs (sometime 3m 12s, or 3m 13s) before being delivered.
I've exhausted my googling skills investigating red herrings and blind alleys and now I'm stumped.
I have included some sanitised output below, showing the problem. I used "sendmail -v" here purely for the verbose output: The same delay occurs with mailx.
Any help would be greatly appreciated.
#########################################################
During the delay before sending, I ran the following in another session:
... And this is what appears in the log:
Many thanks in advance
Moderator's Comments:
Please use CODE tags as required by forum rules!
Last edited by RudiC; 09-01-2017 at 07:37 AM..
Reason: Added CODE tags.
With a delay not attributable to an evident cause, I always suspect a DNS timeout, although more than 3 mins seems very long, and I don't see unresolved addresses in the log.
Hi Rudi (Oops, RE: code tags)
We do use DNS internally, but FQDNs are in the local hosts files as well.
The weird thing is, it doesn't even seem to try to send it for over 3 minutes. It's like there's a config item that says "wait this long before sending mail" but I can't find it.
Both sendmail.cf & submit.cf (and their corresponding .mc files) seem to be default unmodified.
the sendmail daemon can be set up with queueing - meaning send out mail every x minutes.
There are .cf files in the mail directory tree in /etc. (you did this) Read though them and see what is set. (queueing control can be set here, too): Also review the command used to start smtp (sendmail), there are usually two sendmail processes.
I would help but I do not have a unix box here, and sendmail is beastly in how it does things. I do not remember.
You may also need to check if the box that has the problem has an active mail server or if the smtp request is forwarded to another box.
This User Gave Thanks to jim mcnamara For This Post:
the sendmail daemon can be set up with queueing - meaning send out mail every x minutes.
How? Presumably it can also be configured to send mail immediately... How?
I'm afraid the contents of the .cf files are hieroglyphics to me.
I came late to this project and this was already set up when I arrived, but as far as I can tell, there has been no customisation done to sendmail - it's all 'out of the box'. There is next to nothing in the sendmail.mc and submit.mc files, and they and the .cf files are all quite old, so presumably the first build.
That link says:
When I ran
(I assumed the "q" meant "query") it replied:
To me, this seems intentional. But how?
It looks like the email is sent to the localhost over the loopback interface and is accepted, then it sits there waiting for a timer to run out before it gets sent on to the Exchange server and actually delivered.
Thanks
If you're running with 'out of the box' default configuration then in /etc/mail/sendmail.cf the "smart" relay host line probably says:
Try changing that to
That will tell it that its relay host is itself.
---------- Post updated at 04:42 PM ---------- Previous update was at 04:36 PM ----------
Although, of course, there's a delay because the mail daemon wakes up regularly to process mail, I wouldn't have thought that a problem with it would give you the exact same delay every time. So I conclude that this sounds like a configuration issue such as above.
These 2 Users Gave Thanks to hicksd8 For This Post:
Hi,
I'm trying to send out mails from my server using mailx, however everytime I send one, it appears to be held in the /var/spool/mqueue for 44 mins before being sent.
I'm quite new to sendmail, so don't really know where to start with this /var/log/syslog displays the following:
Dec 16... (4 Replies)
Hi guys,
could you help to find a way to get the past 30 mins time in solaris.
version:
bash-3.00# uname -a
SunOS solaris 5.10 Generic_142910-17 i86pc i386 i86pc
I had tried the following ways, it works fine in GNU Linux, but doesn't work in Solaris.
# date
Tue Apr 2 01:01:49 CST... (4 Replies)
Hi Friends,
I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
Hi all,
I have just installed Solaris 10 on an old Fujitsu Primepower 650 which has been wiped clean. I haven't installed anything apart from the OS yet, so the machine is 99% idle.
I get long delays when logging in, first after entering the id then another long delay after entering a valid... (8 Replies)
Hi guys,
Im trying to subtract time in ksh script. i.e. basically im querying a database and i want to get the time 10mins before hand..(from)
in ksh
CurrMin=$(date "+%M")
from=`expr $CurrMin - 10`
to=$CurrMin
however if i run this i say at 2 or 3 mins past the hour, i.e.... (7 Replies)
Hi,
I am having the following problem.
test > hourOfDay=06 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
180
test > hourOfDay=07 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
120
test > hourOfDay=08 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
bash: (9-08: value... (5 Replies)
Hi All,
I would like to know the file modification time till seconds in Unix. So I tried ls -e and it worked fine. This Solaris 5.10
-rw-rw-r-- 1 test admin 22 Sep 12 11:01:37 2008 test_message
But I am not able to run the same command in SOlaris 5.6 and also in AIX/HP
Is there... (3 Replies)
I have a Sol system. The lock timeout is default 15 minutes. I tried to make it longer but cannot by
lock -t timeout
Anyon can tell me the cmd in solai for this please.
A thank in advance (2 Replies)