1748123 Members
3346 Online
108758 Solutions
New Discussion юеВ

Re: Sendmail Problem

 
apichart
Advisor

Sendmail Problem

I'm implementing the sms to email. The below is what I found in mail.log What does the service availble mean? I can only telnet to relay server (10.20.2.31) and can not ping.
1) smsabc.co.tt (192.168.9.120) >> my host
2) relay.operator.co.tt >> 10.20.2.31 relay server
3) I would like to send to yyy@operator.co.tt, what should I do?
4) look up at file only.

Aug 24 14:50:43 smsctb sendmail[12106]: OAA12106: from=<1245678@smsabc.co.tt>, size=87, class=0, pri=30087, nrcpts=1, msgid=<200408240750.OAA12106@smsctb.>, proto=SMTP, relay=sc@smsabc.co.tt [192.168.9.120]
Aug 24 14:50:43 smsctb sendmail[12108]: OAA12106: to=, delay=00:00:00, xdelay=00:00:00, mailer=relay, relay=relay.operator.co.tt[10.20.2.31], stat=Service unavailable
4 REPLIES 4
Howard Palmer
Advisor

Re: Sendmail Problem

I remember having the "Service unavailable" error some while ago. If I remember correctly, it was caused by the relay server (which was Lotus Notes) not being configured to allow my UNIX host to use it as a relay. This is generally configured to close open relays to refuse spam.

I would check (or have your mail admins check) that the relay host 10.20.2.31 is configured to allow 192.168.9.120 to use it as a relay.

The fact you can't ping it is most likely to be a firewall rule, and I don't think has any bearing on the email issue.
GTCI
Simon Hargrave
Honored Contributor

Re: Sendmail Problem

Sorry the above answer was from me, I was logged in as the wrong user!!

I remember having the "Service unavailable" error some while ago. If I remember correctly, it was caused by the relay server (which was Lotus Notes) not being configured to allow my UNIX host to use it as a relay. This is generally configured to close open relays to refuse spam.

I would check (or have your mail admins check) that the relay host 10.20.2.31 is configured to allow 192.168.9.120 to use it as a relay.

The fact you can't ping it is most likely to be a firewall rule, and I don't think has any bearing on the email issue.
Berlene Herren
Honored Contributor

Re: Sendmail Problem

Ensure that you can resolve the relay.operator.co.tt and your own hostname.

Are you using DNS?

try to telnet to port 25 on the relay server and send from command line.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Muthukumar_5
Honored Contributor

Re: Sendmail Problem

Can you do telnet to 25 port as,

telnet localhost 25

and network status as,

netstat -na | grep -w 25

one as LISTEN status there.

To lookup about the hostname resolvation you have to use nslookup / nsquery command.

nslookup smsabc.co.tt
nslookup relay.operator.co.tt


If you want to make it with files entry then,

---/etc/nsswitch.conf file---
hosts: files dns

-- /etc/hosts file --
smsabc
relay

Now check lookup as,

nsquery hosts "files"

You have to be succeeded.

Regards
Muthu

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