- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail prob
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 02:28 AM
12-13-2006 02:28 AM
sendmail prob
/etc/hosts
142.238.64.147 caremgr caremgr cm
127.0.0.1 localhost loopback
142.238.64.148 das1 das #tns
142.238.64.61 cln h8193n2
142.238.64.63 med pc h8193n1
142.238.64.65 fin h8193n3
142.238.64.71 dns
139.177.222.183 mckhboc.com
209.209.51.11 mckesson.com
But the problem is that the third one that is my own domain, stjosham.on.ca. I am not getting any emails from the server. When I do a nslookup on stjosham.on.ca I get back
Care Manager 16>nslookup stjosham.on.ca
Using /etc/hosts on: caremgr
Name: stjosham.on.ca
But I don’t get any ip address to put it in the /etc/hosts file, but keep one thing in mind that it is our own domain.
The output of the emails look fine, but unfortunately they are not going through.
EMAIL1:
Care Manager 7>sendmail -v csurvey@itb.mcbkhoc.com < /tmp/mujee
Dec 13 09:45:40 caremgr sendmail[20411]: unable to qualify my own domain n
sing short name
csurvey@itb.mckhboc.com... Connecting to mail1.mckhboc.com. via esmtp...
220 mail1.mckhboc.com Outbound Mail1 SMTP Relay Service ready
>>> EHLO caremgr.stjosham.on.ca
250-mail1.mckhboc.com Hello
250-DSN
250 SIZE 31457280
>>> MAIL From:
250 OK
>>> RCPT To:
250 OK
>>> DATA
354 Start mail input; end with
>>> .
250 OK - Data received
csurvey@itb.mckhboc.com... Sent (OK - Data received)
Closing connection to mail1.mckhboc.com.
>>> QUIT
221 mail1.mckhboc.com Service closing connection
EMAIL2:
Care Manager 8>sendmail -v Justin.Adams@McKesson.com < /tmp/mujee
Dec 13 09:46:56 caremgr sendmail[20463]: unable to qualify my own domain n
sing short name
Justin.Adams@McKesson.com... Connecting to mail4.mckesson.com. via esmtp..
220 mail4.mckesson.com Outbound Mail1 SMTP Relay Service ready
>>> EHLO caremgr.stjosham.on.ca
250-mail4.mckesson.com Hello
250-DSN
250 SIZE 31457280
>>> MAIL From:
250 OK
>>> RCPT To:
250 OK
>>> DATA
354 Start mail input; end with
>>> .
250 OK - Data received
Justin.Adams@McKesson.com... Sent (OK - Data received)
Closing connection to mail4.mckesson.com.
>>> QUIT
221 mail4.mckesson.com Service closing connection
EMAIL3:
Care Manager 9>sendmail -v mkhan@stjosham.on.ca < /tmp/mujee
Dec 13 09:47:19 caremgr sendmail[20490]: unable to qualify my own domain n
sing short name
mkhan@stjosham.on.ca... Connecting to e500mail.stjosham.on.ca. via esmtp..
220 e500mail.stjosham.on.ca SCM3200/SMTP Ready.
>>> EHLO caremgr.stjosham.on.ca
250 Requested mail action okay, completed.
>>> MAIL From:
250 Requested mail action okay, completed.
>>> RCPT To:
250 Requested mail action okay, completed.
>>> DATA
354 Enter mail, end with "." on a line by itself.
>>> .
250 Requested mail action okay, completed.
mkhan@stjosham.on.ca... Sent (Requested mail action okay, completed.)
Closing connection to e500mail.stjosham.on.ca.
>>> QUIT
221 Closing connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 04:39 AM
12-13-2006 04:39 AM
Re: sendmail prob
Do you mean why does the third not have SIZE=20?
Well, the first 2 connect to an Outbound Mail1 SMTP server and the third straight to e500mail.stjosham.on.ca
Different mail servers.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 06:05 AM
12-13-2006 06:05 AM
Re: sendmail prob
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 06:38 AM
12-13-2006 06:38 AM
Re: sendmail prob
What is hosts set to in /etc/nsswitch.conf?
Probably just files.
Should be
files [ NOTFOUND=continue ] dns
Next, your /etc/resolv.conf needs to contain the ip's of your dns servers.
Now, in your own domain, do you have a smart relay server? if yes, then on "Care Manager 9" server in /etc/mail/sendmail.cf set the DS macro to that smart relay server:
DSyoursmartrelayserver.itsdomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 07:56 AM
12-13-2006 07:56 AM
Re: sendmail prob
U see when i did a nslookup on the mailrouter i got that. 142.238.64.117 is the name server. Kindly have a look at the files outputs. And confirm if i should put stjoesdc02.ad.stjosham.on.ca in the DS macro.
Thanks
Care Manager 3>more /etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
Care Manager 4>cat /etc/resolv.conf
domain stjosham.on.ca
nameserver 142.238.64.117
nameserver 142.238.64.115
(mailrtr)root# nslookup
Default Name Server: stjoesdc02.ad.stjosham.on.ca
Address: 142.238.64.117
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2006 12:14 AM
12-14-2006 12:14 AM
Re: sendmail prob
The DS macro should be set to identifiy the mail relay through which the traffic flows. It can be the IP of the mail relay or a host name, as long as the host name can be resolved.
Also, the "unable to qualify my own domain name using short name" messages you're getting can be corr4ected by settin the Dj$ sendmail macro to the originating server's fully qulaified domain name, or entering the fully qualified domain name in the /etc/hosts file.
Note that if you're running the sendmail daemon, you'll need to stop it and restart it after making your changes.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2006 02:05 AM
12-14-2006 02:05 AM
Re: sendmail prob
Care Manager 10>sendmail -v ironic707@yahoo.com < /tmp/mujee
Dec 14 10:02:46 caremgr sendmail[6661]: unable to qualify my own domain name (ca
remgr) -- using short name
ironic707@yahoo.com... Connecting to mailrtr.stjosham.on.ca. via relay...
220 mailrtr.stjosham.on.ca ESMTP Sendmail 8.9.3 (PHNE_29774)/8.9.3; Thu, 14 Dec
2006 10:03:55 -0500 (EST)
>>> EHLO caremgr.stjosham.on.ca
250-mailrtr.stjosham.on.ca Hello [142.238.64.147], pleased to meet you
250-EXPN
250-VERB
250-8BITMIME
250-SIZE 12000000
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:
501 Sender domain must exist
ironic707@yahoo.com... Data format error
/dead.letter... cannot open: Permission denied
root... Connecting to local...
root... Sent
Closing connection to mailrtr.stjosham.on.ca.
>>> QUIT
221 mailrtr.stjosham.on.ca closing connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2006 04:36 PM
12-14-2006 04:36 PM
Re: sendmail prob
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2006 07:08 PM
12-14-2006 07:08 PM
Re: sendmail prob
If you want to disable sendmails automatic lookup of domains and leave that to your mail gateway to do that enable the use of the /etc/mail/service.switch
It should contain the following entries:
hosts files
aliases files
Just uncomment the
O ServiceSwitchFile=/etc/mail/service.switch
line in the sendmail.cf file and restart sendmail.
HTH
Andrew