1748171 Members
4168 Online
108758 Solutions
New Discussion юеВ

Sendmail problem

 
CFI-beheer
Advisor

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: to=feisal.gaffar@getronics.com, 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=<200703121220.l2CCKbw01397@cfiux01.getronics.com>, relay=root@localhost
Mar 12 13:20:37 cfiux01 sendmail[1397]: l2CCKbw01397: to=feisal.gaffar@getronics.com, delay=00:00:00, mailer=relay, pri=587, dsn=4.4.3, stat=queued

Also when I do a
sendmail -v feisal.gaffar@getronics.com getronics.com: Name server timeout
feisal.gaffar@getronics.com... Transient parse error -- message queued for future delivery
feisal.gaffar@getronics.com... 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 sendmail.cf / 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,

Regards

CFI-beheer
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: Sendmail problem

This error:

"getronics.com: 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 getronics.com MX

You should get in the ANSWER SECTION the hostname and ip address of the mail server (mail exchanger) for getronics.com.
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

Shalom,

Name server timeout
feisal.gaffar@getronics.com... Transient parse error -- message queued for future delivery
feisal.gaffar@getronics.com... 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.

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
melvyn burnard
Honored Contributor

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!
CFI-beheer
Advisor

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
nameserver 172.18.128.3
nameserver 172.18.128.4
retrans 2500
retry 2

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

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

looking up FILES
Name: CFIEX02CP.cfi.local
Address: 172.18.128.97
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 getronics.com MX

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

;; QUESTION SECTION:
;getronics.com. IN MX

;; Query time: 2 msec
;; SERVER: 172.18.128.3#53(172.18.128.3)
;; 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?