Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can someone help me read and explains the maillog below, It appears that the relay server pwn00110.hotpot.com is not accepting the mail relay from our MTA. Is it correct? then how to reslove?
The above shows there is no mail server assigned to hotpot.com.
If you own hotpot.com then yes you need to create an MX record for it. However, MTAs like Sendmail (and Postfix) do lookups for MX records so I'm wondering how your sendmail found the name it did. Did you recently make changes to your DNS for this? What's in the /etc/resolv.conf on your sendmail server? If you do a dig @<server> -t mx hotpot.com from the server(s) specified in resolv.conf do you get an answer? This may be something you can only reach on internal DNS.
Oops - In my prior post I did a dig -t mx for "hotSpot.com" but on reread realize it should be "hotpot.com" without the S.
The above shows there is no mail server assigned to hotpot.com.
If you own hotpot.com then yes you need to create an MX record for it. However, MTAs like Sendmail (and Postfix) do lookups for MX records so I'm wondering how your sendmail found the name it did. Did you recently make changes to your DNS for this? What's in the /etc/resolv.conf on your sendmail server? If you do a dig @<server> -t mx hotpot.com from the server(s) specified in resolv.conf do you get an answer? This may be something you can only reach on internal DNS.
Sorry,my bad. I wrote the wrong domain. It should be corp.ds.hotpot.com, not hotpot.com. So the full error message is: Aug 12 14:05:25 hotman01 sendmail[5887]: p7C65OkJ005887: to=13245@corp.ds.hotpot.com, ctladdr=MonAgt (14442/14442), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=33499, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p7C65OcT005888 Message accepted for delivery)
Aug 12 14:05:27 hotman01 sendmail[5890]: STARTTLS=client, relay=pwn00110.hotpot.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES128-SHA, bits=128/128
Aug 12 14:05:33 hotman01 sendmail[5890]: p7C65OcT005888: to=<13245@corp.ds.hotpot.com>, delay=00:00:09, xdelay=00:00:08, mailer=esmtp, pri=123824, relay=pwn00110.corp.ds.hotpot.com. [163.11.28.96], dsn=5.0.0, stat=Service unavailable
Aug 12 14:05:33 hotman01 sendmail[5890]: p7C65OcT005888: to=<MonAgt@hotman01.apac.hotpot.com>, delay=00:00:09, mailer=local, pri=123824, dsn=5.1.1, stat=User unknown
Aug 12 14:05:33 hotman01 sendmail[5890]: p7C65OcT005888: p7C65XcT005890: postmaster notify: User unknown
Aug 12 14:05:33 hotman01 sendmail[5890]: p7C65XcT005890: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=35083, dsn=2.0.0, stat=Sent
;; QUESTION SECTION:
;pwn00110.corp.ds.hotpot.com. IN A
;; ANSWER SECTION:
pwn00110.corp.ds.hotpot.com. 444 IN A 163.11.28.96
;; AUTHORITY SECTION:
ds.hotpot.com. 7660 IN NS land.hotpot.com.
ds.hotpot.com. 7660 IN NS mempdsd01.ds.hotpot.com.
ds.hotpot.com. 7660 IN NS mempdsd02.ds.hotpot.com.
ds.hotpot.com. 7660 IN NS kate.hotpot.com.
;; ADDITIONAL SECTION:
kate.hotpot.com. 6353 IN A 199.21.122.13
land.hotpot.com. 6353 IN A 199.21.135.8
mempdsd01.ds.hotpot.com. 1378 IN A 199.22.52.4
mempdsd02.ds.hotpot.com. 460 IN A 199.22.52.5
;; ANSWER SECTION:
corp.ds.hotpot.com. 1800 IN MX 100 pwn00110.corp.ds.hotpot.com.
corp.ds.hotpot.com. 1800 IN MX 100 pwn00111.corp.ds.hotpot.com.
corp.ds.hotpot.com. 1800 IN MX 100 pwn00112.corp.ds.hotpot.com.
corp.ds.hotpot.com. 1800 IN MX 100 pwn00113.corp.ds.hotpot.com.
corp.ds.hotpot.com. 1800 IN MX 200 cosexec01v.corp.ds.hotpot.com.
corp.ds.hotpot.com. 1800 IN MX 250 smtp.zmd.hotpot.com.
corp.ds.hotpot.com. 1800 IN MX 300 smtp.dmz.hotpot.com.
;; AUTHORITY SECTION:
ds.hotpot.com. 8699 IN NS mempdsd01.ds.hotpot.com.
ds.hotpot.com. 8699 IN NS mempdsd02.ds.hotpot.com.
ds.hotpot.com. 8699 IN NS kate.hotpot.com.
ds.hotpot.com. 8699 IN NS land.hotpot.com.
;; ADDITIONAL SECTION:
kate.hotpot.com. 7392 IN A 199.21.122.13
land.hotpot.com. 7392 IN A 199.21.135.8
mempdsd01.ds.hotpot.com. 2417 IN A 199.22.52.4
mempdsd02.ds.hotpot.com. 1499 IN A 199.22.52.5
And the contents in /etc/resolv.conf is below: nameserver 155.161.222.18
domain apac.hotpot.com
search apac.hotpot.com network.hotpot.com corp.hotpot.com
Actually the problem is our mail group(team@corp.ds.hotpot.com) is unable to receive the emails from MonAgt@hotman01.apac.hotpot.com. So in view of above, what do you think the root cause is?
It appears your lookup is working to find the MX record so its not a DNS issue.
What happens if you try "ping pwn00110.corp.ds.hotpot.com"?
What happens if you try "telnet pwn00110.corp.ds.hotpot.com 25" to access the mail port? See link for how to do testing this way: http://www.elandsys.com/resources/sendmail/
It appears your lookup is working to find the MX record so its not a DNS issue.
What happens if you try "ping pwn00110.corp.ds.hotpot.com"?
What happens if you try "telnet pwn00110.corp.ds.hotpot.com 25" to access the mail port? See link for how to do testing this way: http://www.elandsys.com/resources/sendmail/
Ping is fine. [root@hotman01 ~]# ping pwn00110.corp.ds.hotpot.com
PING pwn00110.corp.ds.hotpot.com (163.11.28.96) 56(84) bytes of data.
64 bytes from 163.11.28.96: icmp_seq=0 ttl=117 time=286 ms
64 bytes from 163.11.28.96: icmp_seq=1 ttl=117 time=285 ms
64 bytes from 163.11.28.96: icmp_seq=2 ttl=117 time=285 ms
64 bytes from 163.11.28.96: icmp_seq=3 ttl=117 time=285 ms
64 bytes from 163.11.28.96: icmp_seq=4 ttl=117 time=287 ms
64 bytes from 163.11.28.96: icmp_seq=5 ttl=117 time=285 ms
64 bytes from 163.11.28.96: icmp_seq=6 ttl=117 time=285 ms
64 bytes from 163.11.28.96: icmp_seq=7 ttl=117 time=285 ms
64 bytes from 163.11.28.96: icmp_seq=8 ttl=117 time=285 ms
[root@hotman01 ~]# telnet pwn00110.corp.ds.hotpot.com 25
Trying 163.11.28.96...
Connected to pwn00110.corp.ds.hotpot.com (163.11.28.96).
Escape character is '^]'.
220 PWN00110.corp.ds.hotpot.com Microsoft ESMTP MAIL Service ready at Fri, 19 Aug 2011 18:18:09 +0000
HELO corp.ds.hotpot.com
250 PWN00110.corp.ds.hotpot.com Hello [155.161.87.23]
MAIL FROM:<MonAgt@hotman01.apac.hotpot.com>
530 5.7.1 Client was not authenticated
Connection closed by foreign host.
This indicates the receiving mail host tried to authenticate you and couldn't. If you do a Google search for this message you'll see lots of information about it. From a brief perusal it appears to be an issue with the mail servers rejecting anonymous connections so someone on the receiving side would need to allow for those.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.