Operating System - HP-UX
1751790 Members
4668 Online
108781 Solutions
New Discussion юеВ

Re: sendmail configuration

 
mwagiru
Frequent Advisor

sendmail configuration

I have configured sendmail to send mail to internal users in our LAN via MS Exchange but I cant get it to send mail outside like to xyz@gmail.com.
What do I need to do?
20 REPLIES 20
Peter Godron
Honored Contributor

Re: sendmail configuration

Hi,
can you please read:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=213290
and
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=76524

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

Your profile shows you have yet to reward any answer with points !
Mobeen_1
Esteemed Contributor

Re: sendmail configuration

Please review the link below and that should provide you details

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=973651

regards
Mobeen
mwagiru
Frequent Advisor

Re: sendmail configuration

I need to configure sedmail to send mail as admin@domain.com but now it sends as root@hostname.domain.net

Peter Godron
Honored Contributor

Re: sendmail configuration

Hi,
that is a new question.
Please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1016691

If your questions are now answered please complete this question by assignining points and closing the thread.
mwagiru
Frequent Advisor

Re: sendmail configuration

Why does my sendmail try to resolve?
I can send all emails to internal LAN, but I cant send to external email like gmail.See my partial attached output.
Keith Johnson
Valued Contributor

Re: sendmail configuration

Your /etc/nsswitch.conf file determines how your system will attempt to resolve host names.

Your /etc/nsswitch.conf file specifies the DNS server(s) you want to use to resolve host names.

This specific tells you that the server cannot get to any of the DNS servers specified in your /etc/resolv.conf file.
No matter where you go...there you are.
Keith Johnson
Valued Contributor

Re: sendmail configuration

Your /etc/nsswitch.conf file specifies the DNS server(s) you want to use to resolve host names.

That should be, "Your /etc/resolv.conf file specifies the DNS server(s) you want to use to resolve host names.

Sorry for any confusion.
No matter where you go...there you are.
mwagiru
Frequent Advisor

Re: sendmail configuration

sendmail -v -d8.99 -d38.99 bmwagiru@yahoo.com
;; res_querydomain(lmsapp, safaricom.net, 1, 1)
;; res_query(lmsapp.safaricom.net, 1, 1)
;; Querying server (# 1) address = 172.29.200.99
seq_map_parse(aliases.files, )
_res.options = 52c7, HasWildcardMX = 0
;; res_query(181.200.29.172.in-addr.arpa, 1, 12)
;; Querying server (# 1) address = 172.29.200.99
;; res_querydomain(lmsapp.safaricom.net., , 1, 1)
;; res_query(lmsapp.safaricom.net, 1, 1)
;; Querying server (# 1) address = 172.29.200.99
;; res_query(1.0.0.127.in-addr.arpa, 1, 12)
;; Querying server (# 1) address = 172.29.200.99
;; res_querydomain(localhost., , 1, 1)
;; res_query(localhost, 1, 1)
;; Querying server (# 1) address = 172.29.200.99
openmap() dequote:dequote NULL: valid
openmap() host:host NULL: valid
getcanonname(yahoo.com), trying dns
dns_getcanonname(yahoo.com, trymx=1)
dns_getcanonname: trying yahoo.com. (A)
;; res_querydomain(yahoo.com, , 1, 1)
;; res_query(yahoo.com., 1, 1)
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; res_query: send error
NO: errno=238, h_errno=2
dns_getcanonname: trying yahoo.com. (MX)
;; res_querydomain(yahoo.com, , 1, 15)
;; res_query(yahoo.com., 1, 15)
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; Querying server (# 1) address = 172.29.200.99
;; Querying server (# 2) address = 172.29.200.134
;; Querying server (# 3) address = 172.29.200.11
;; res_query: send error
NO: errno=238, h_errno=2
dns_getcanonname: trying yahoo.com.safaricom.net (A)
;; res_querydomain(yahoo.com, safaricom.net, 1, 1)
;; res_query(yahoo.com.safaricom.net, 1, 1)
;; Querying server (# 1) address = 172.29.200.99
;; rcode = 3, ancount=0
NO: errno=0, h_errno=1
getcanonname(yahoo.com), trying files
text_getcanonname(yahoo.com)
getcanonname(yahoo.com), failed, status=68
yahoo.com: Name server timeout
bmwagiru@yahoo.com... Transient parse error -- message queued for future delivery
mwagiru
Frequent Advisor

Re: sendmail configuration

I have configured my /etc/mail/sendmail.cf with a smtp server
DS172.31.100.69


Why can't sendmail send to xyz@yahoo.com ?
My /etc/rc.config.d/mailservs has
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=""

help!