Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail prob ::stat=Service unavailable

ricky2
Frequent Advisor

sendmail prob ::stat=Service unavailable

Hi,

Iam having a hpux11.11 dev server which is a sendmail client and my relay server is a w2k server.since few days Im having a problem in sending the mail from the hp server.
below are my analysis from the log

1.from /var/adm/syslog/mail.log
when i send a email the log says

Mar 29 06:15:00 remu01 sendmail[6723]: GAA06721: to=xyz@mydomain.com, ctladdr=opys (109/105), delay=00:00:00, xdelay=00:00:00, mailer=relay, relay=my-relay.mydomain.com [xx.xxx.xxx.xx], stat=Service unavailable

2.Sendmail service runing well

3.sendmail -v -d8.99 -d38.99 xy@mydomain.com
the error shows as
221 2.0.0 dd-ryx-exc-10.lml.dxgrp.com Service closing transmission channel
Service unavailable
/dead.letter... Saved message in /dead.letter

what Iam able to understand is that the mail was delivered to relay server but not delivered to mailbox...so is it the problem at the relay server which is not accepting the mails from my server?
could any one help me out on this?
9 REPLIES
RAC_1
Honored Contributor

Re: sendmail prob ::stat=Service unavailable

Is relay server fine? my -relay.mydomain.com?
telnet my -relay.mydomain.com 25

Does it accept connection?
There is no substitute to HARDWORK
ricky2
Frequent Advisor

Re: sendmail prob ::stat=Service unavailable

yes I was able to telnet to port 25 of the relay server without any problem.
Muthukumar_5
Honored Contributor

Re: sendmail prob ::stat=Service unavailable

Hostname resolvation is getting failed.

Check /etc/nsswitch.conf file hosts: entry
/etc/resolv.conf
/etc/hosts

for getting resolvation try.

Before that:

# ping mydomain.com
# nslookup mydomain.com

Is it workiing?!?! Else you will get this problem.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: sendmail prob ::stat=Service unavailable

Read this:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=878409

--- SEP --
If it is a unix server, the /etc/mail/access file will need an entry like this:

IP_of_this_unix_server RELAY
------------

that will do it.

--
Muthu

Easy to suggest when don't know about the problem!
ricky2
Frequent Advisor

Re: sendmail prob ::stat=Service unavailable

hi muthu,

the entries on /etc/hosts, /etc/nsswitch.conf. /etc/resolv.conf are perfect and I was able to resolv mydonain without any problem.
Iam facing this problem since a week and no recent changes on my server has been done.

thanks,
ricky
RAC_1
Honored Contributor

Re: sendmail prob ::stat=Service unavailable

Can you resolve the address?
/usr/sbin/expand_alias some_thing@some_what.com

Also by telneting to port 25, can you send an email?
There is no substitute to HARDWORK
ricky2
Frequent Advisor

Re: sendmail prob ::stat=Service unavailable

hi RAC,

Yes Iam able to resolve the address,able to telnet to port 25 and send the message but not delivered to my mailbox.

thanks,
Ricky
RAC_1
Honored Contributor

Re: sendmail prob ::stat=Service unavailable

mailq -v -d
What else in mail.log file?
There is no substitute to HARDWORK
ricky2
Frequent Advisor

Re: sendmail prob ::stat=Service unavailable

hi RAC,

the output of mailq -v -d is

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = unx01
(canonical domain name) $j = unx01.
(subdomain name) $m =
(node name) $k = unx01
========================================================

setoption HoldExpensive (c).=F
setoption DeliveryMode (d).=
WARNING: World writable directory /var/spool/mqueue
dropenvelope 40016f30: id=, flags=1
orderq:
Mail queue is empty

====finis: stat 0 e_id=NOQUEUE e_flags=1
======================================
the error in mail.log is
Mar 29 10:25:35 unx01 sendmail[19205]: KAA19205: to=abc@mydomain.com, ctladdr=root (0/3), delay=00:00:23, xdelay=00:00:00, mailer=relay, relay=my-relay.mydomain.com [xx.xxx.xxx.xx], stat=Service unavailable
=========================================
rgds,
ricky