- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail via relay server
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
Discussions
Discussions
Forums
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
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
тАО02-11-2009 07:41 AM
тАО02-11-2009 07:41 AM
Sendmail via relay server
Please see the attached document with more details. The basics of it is i know sendmail works locally on both boxes involved and i know when coming from the originating server it works in a "fashion"......I am guessing it has something to do with host names and resolution of them but wonder if anyone can offer some help.
Just FYI
Originating server is running 11.31 and the relay host is running 11.11.
not sure if that is an issue....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:00 AM
тАО02-11-2009 08:00 AM
Re: Sendmail via relay server
It should be
172.30.5.205 dalmas.co-op.co.uk dalmas
(Again, this is the /etc/hosts on the dalmas server)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:21 AM
тАО02-11-2009 08:21 AM
Re: Sendmail via relay server
dalmas:/var/adm/syslog> cat /etc/hosts | grep -e dalmas
172.30.2.231 dalmas2.co-op.co.uk dalmas2 # RETAIL UX
172.30.5.205 dalmas.co-op.co.uk dalmas
11.11.11.5 dalmas11.co-op.co.uk dalmas11
12.12.12.5 dalmas12.co-op.co.uk dalmas12
The bottom 2 entries are used by ServiceGuard.......
But as you can see there is an entry in as you mentioned but its not the first entry for this box....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 09:07 AM
тАО02-11-2009 09:07 AM
Re: Sendmail via relay server
The dsn=5.6.0 error is cause among other things by a hostname resolution issue. You may want to try making the name resolution of the originating server consistent both in itself and in the mail relay server.
Google says that another cause may be the localhost, mailhost line. What does your 127.0.0.1 line look like on each server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 09:30 AM
тАО02-11-2009 09:30 AM
Re: Sendmail via relay server
andy.pilgrim@co-operative.coop
That is not a valid domain name.
That domain name lookup will fail on the relay server, even if you try and make it valid in /etc/hosts
In this case, no mail delivery.
SEP
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
тАО02-12-2009 01:20 AM
тАО02-12-2009 01:20 AM
Re: Sendmail via relay server
TTr, I dont know why they have dalmas5 in the host file. Only been at this place 1 week so got to find that out, but i guessed that might be causing issues...
Anyway, localhost on both servers look like this;
dalmas:/root> grep localhost /etc/hosts
127.0.0.1 localhost.co-op.co.uk localhost loopback
daly:/root> grep localhost /etc/hosts
127.0.0.1 localhost loopback
SEP,
How do you know that andy.pilgrim@co-operative.coop is not a valid domain name??? Might be a daft question but i can 100% send emails to and from that address both internally and externally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 05:35 AM
тАО02-13-2009 05:35 AM
Re: Sendmail via relay server
> 127.0.0.1 localhost.co-op.co.uk localhost loopback
I know it is not your doing but I don't understand why people mess around with the loopback name/address. It is there for a reason and it is there on each and every server.
> Feb 11 14:20:25 daly sendmail[11290]: n1BEK3J11282: to=andy.pilgrim@co-operative.coop, delay=00:00:09, xdelay=00:00:00, mailer=esmtp, pri=120012, relay=mailer1.co-op.co.uk. [217.33.9.74], dsn=5.6.0, stat=Data format error
In your attachment you showed us the "to" record. There is a "from" record as well before this for the same mail message ID n1BEK3J11282. Take a look at that and see what hostname shows for the dalmas server. This name must be a valid (officially resolvable) name by the relay server. This is where the problem might be. You probably need to fix the hostname for the dalmas server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 05:50 AM
тАО02-13-2009 05:50 AM
Re: Sendmail via relay server
I had a discussion (polite term for argument) with the so-called Technical Architect who set all this up and have left it with him to figure out...
I am going to close this call now, but thanks for the pointers towards possible solutions. I will just use them as notes for myself of things to look for in the future.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 05:51 AM
тАО02-13-2009 05:51 AM