- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail problem
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
01-15-2003 03:03 PM
01-15-2003 03:03 PM
# echo hello|sendmail -v christopher.little@gx.novartis.com
christopher.little@gx.novartis.com... Connecting to nvchbs-s0137.is.chbs. via esmtp...
220 nvchbs-s0137.is.chbs ESMTP Sendmail for NT Build 101 8.9.3/NT-8.9.3; Wed, 15 Jan 2003 23:32:16 +0100
>>> EHLO usbrbwdd.gx.usbr
250-nvchbs-s0137.is.chbs Hello usbrbwdd.gx.usbr [162.86.161.87], pleased to meet you
250-EXPN
250-VERB
250-8BITMIME
250-SIZE 10485760
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:
553
Data format error
/dead.letter... Saved message in /dead.letter
Closing connection to nvchbs-s0137.is.chbs.
>>> QUIT
221 nvchbs-s0137.is.chbs closing connection
I have no idea how this box is talking to nvchbs-s0137.is.chbs. It's not set up as a relay in sendmail.cf. I can't seem to find a reference to it anywhere. Any idea as to wehre else I should look for this system to be configured as a relay?
Chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2003 03:01 PM
01-15-2003 03:01 PM
SolutionCouple of things:
1) Do you have any data in the DS field in sendmail.cf? Is it just an IP? If so what does it resolve to?
2) Do an nslookup type=mx for novartis.com - what does it return? Could be that nvchbs-s0137.is.chbs is the mail exchanger for novartis.com
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2003 03:09 PM
01-15-2003 03:09 PM
Re: sendmail problem
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2003 03:26 PM
01-15-2003 03:26 PM
Re: sendmail problem
Your system should be configured as a relay right under the DS entry in /etc/mail/sendmail.cf
example
DS
[192.168.0.40]
The relay server needs to know what to do when someone sends it mail. Most of them have to be configured by hostname or IP address to relay mail.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
I find this diagnosic command provide more information is.
...
/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter@juf.org
mailq
after the fact lets you know if your mail actually got off your server.
Now, if you get connection refused, the relay server isn't relaying your mail.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2003 03:29 PM
01-15-2003 03:29 PM
Re: sendmail problem
Relay server is defined by DS option in /etc/mail/sendmail.cf, in your case:
DSnvchbs-s0137.is.chbs or any other alias that provide this resolution name. Realy server provide smtp service required to send mails out of your box domain(usbrbwdd.gx.usbr). By default every user in your box have a mail local service (username@usbrbwdd.gx.usbr). To send emails to other domain users you need at least a smtp server, in this case your box works like a "gateway" passing messages. Now for this your box needs a way to identify your domain name.
A possible way is forcing the definition of the domain inside the file /etc/mail/sendmail.cf by the definition of your "Official Domain Name" (Dj$w). i.e:
Djusbrbwdd.gx.usbr (blank spaces should not exist)
Keep present your /etc/nsswitch.conf and /etc/resolv.conf
Also remember reactivate sendmail service after **any change** in /etc/mail/sendmail.conf by:
#/sbin/init.d/./sendmail stop
#/sbin/init.d/./sendmail start
To chk queued mails execute "mailq -v", ths command will show you the content of /var/spool/mqueued directory where all non-successfully mail will be queued, each email have two files, one of the represent the header file and another is data file, you could remove them by rm command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 07:17 AM
01-16-2003 07:17 AM