1834605 Members
4159 Online
110069 Solutions
New Discussion

problems with sendmail

 
Jairo Campana
Trusted Contributor

problems with sendmail

hello I have problems with sendmail.
the mail is in spool and they do not leave to Internet:
nms1 # mailq
Mail Queue (5 requests)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
OAA06305 7 Thu Oct 25 14:43 CampanaJ
(host map: lookup (hotmail.com): deferred)
jairo_59@hotmail.com
OAA06278 7 Thu Oct 25 14:43 CampanaJ
(host map: lookup (hotmail.com): deferred)
hurtado73@hotmail.com
OAA06297 7 Thu Oct 25 14:43 CampanaJ
(host map: lookup (hotmail.com): deferred)
hurtado73@hotmail.com
OAA06300 7 Thu Oct 25 14:43 CampanaJ
(host map: lookup (hotmail.com): deferred)
hurtado73@hotmail.com
OAA06308* (no control file)
*********************************************
and they are in spool.
single east problem is solved
with /sbin/init.d/stop
and /sbin/init.d/start




legionx
6 REPLIES 6
Ron Cornwell
Trusted Contributor

Re: problems with sendmail

Check to see if you can resolve the domain name (nslookup hotmail.com). It sounds like it may be a DNS problem. If you can not resolve the domain name you either have to put the domain in the hosts file or disable DNS on the system.
Jairo Campana
Trusted Contributor

Re: problems with sendmail

this server is server of DNS
there are no problems of DNS:

nms1 # nslookup hotmail.com
Using /etc/hosts on: nms1

looking up FILES
Trying DNS
Non-authoritative answer:
Name: hotmail.com
Addresses: 64.4.52.7, 64.4.53.7, 64.4.54.7
*********************************************
nms1 # nslookup astalavista.net
Using /etc/hosts on: nms1

looking up FILES
Trying DNS
Name: astalavista.net
Address: 212.80.184.50

nms1 #


legionx
Ron Cornwell
Trusted Contributor

Re: problems with sendmail

Is there any good info in /var/adm/syslog/mail.log about these emails?? Also attempt telneting to hotmail.com 25 and sending an email directly from their server. They may not accept your mail because they can not resolve your domain name.
Uday_S_Ankolekar
Honored Contributor

Re: problems with sendmail

Hi,

/etc/mail/sendmail.cf should be configured to send external mail. Check for DS flag in sendmail.cf and put the entry over there for external mail resolver
Restart your sendmail daemon by /sbin/init.d/sendmail stop followed by /sbin/init.d/sendmail start

GoodLuck..
-USA..
Good Luck..
Jairo Campana
Trusted Contributor

Re: problems with sendmail

from hotmail homail envio correctly mail telnet 25 helo ok from: jairo_596@hotmail rcpt ok I do not have problems stops to s
**************************************
and when I add in sendmail.cf
# "Smart" relay host (may be null)
DS

the problem resulve but I cannot be used that server of realy so that they do not belong to us and the mail not so that they do not belong to us and the mail they do not leave to Internet
legionx
Ron Cornwell
Trusted Contributor

Re: problems with sendmail

I still think it may be domain resolution on the hotmail side. I imagine you are sending mail out as user@hostname.domain.com. hostname.domain.com can not be resolved. Try chaning DM macro in /etc/mail/sendmail.cf to DMdomain.com (whatever your domain is) and restart sendmail.