Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

Sendmail problem


Sendmail problem

Hi Gents,

I've been looking for days now on the forum and man pages to get my sendmail problem fixed.

My HP-UX servers, HP-UX B.11.23 U ia64, RX2620, were able to send mail to een internal exchange backend server.
Since January 15, the servers suddenly stop sending mail(via sendmail) and sendmail dumpes all mail in
/var/spool/mqueue directory.
The strange thing that mails gets delivered when I try sending mail at a lower level, by through 'telnet mailserver 25'.
The mail.log shows this message when I try to send a message through sendmail

Mar 12 13:20:37 cfiux01 sendmail[1397]: l2CCKbw01397:, delay=00:00:00, mailer=relay, pri=0, relay=mailserver, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Mar 12 13:20:37 cfiux01 sendmail[1397]: l2CCKbw01397: from=beheer, size=587, class=0, nrcpts=0, msgid=<>, relay=root@localhost
Mar 12 13:20:37 cfiux01 sendmail[1397]: l2CCKbw01397:, delay=00:00:00, mailer=relay, pri=587, dsn=4.4.3, stat=queued

Also when I do a
sendmail -v Name server timeout Transient parse error -- message queued for future delivery queued

I have take about this with the people of the windows mail and dns administrators but they are saying
that there my unix servers are allowed to sent mail through their windows exchange backend server.

I have also talked with the network administrator and he too tells me that there haven't been any network
changes en that everything is configured correctly.

I am now desperately seeking at a solution that could help me out of this mail problem
I have attached the / mail.log some debugging information.

This servers are clustered systems. MC/ServiceGuard runs on them.

Could someone point me out to the right direction to get this problem fixed.

Thanks in advance,


Ivan Ferreira
Honored Contributor

Re: Sendmail problem

This error:

" Name server timeout"

Means that your DNS server cannot be reached. Check your /etc/nsswitch.conf and /etc/resolv.conf files.

Check if DNS resolution is working with nslookup or dig, for example:

dig MX

You should get in the ANSWER SECTION the hostname and ip address of the mail server (mail exchanger) for
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Sendmail problem


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

Your /etc/resolve.conf points to a name server that can't provide you the answers or the domain itself as Ivan points out is not complete.

Steven E Protter
Owner of ISN Corporation

Re: Sendmail problem

posted in wrong forum, moved to more appropriate forum
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!

Re: Sendmail problem

Hi Gents,

I talked with the mail relay the DNS administrator and the network administrator about this.

According to them there are two internal DNS servers which only resolves internal(private ) names /ip-address. See here the dns servers entries

cat /etc/resolv.conf
domain cfi.local
retrans 2500
retry 2

For mail relaying there is a windows exchange backupend server (CFIEX02CP.cfi.local).
grep DS /etc/mail/

nslookup CFIEX02CP.cfi.local
Using /etc/hosts on: cfiux01

looking up FILES
Name: CFIEX02CP.cfi.local
Aliases: mailserver

This windows backend server just forwards the mail to the actual mail relay servers which also does DNS MX resolving. This mail relay server resides on the DMZ

So according to them is obvious that I get a "Name server timeout" because the actual name resolution takes place in the DMZ.

Here is the output of dig command
cfiux01:/var/mail > dig MX

; <<>> DiG named 9.2.0 <<>> MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 62606
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0


;; Query time: 2 msec
;; WHEN: Tue Mar 13 11:45:12 2007
;; MSG SIZE rcvd: 31

Thanks for you replies but Iâ m still unable to send mail .
PS: Is there a easy way to move this thread to the HP-UX forum?