- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
05-25-2004 11:18 PM
05-25-2004 11:18 PM
Sendmail problem
I think that this is a known problem but still ...
My sendmail is not working properly: When I try to send a mail outside the HP-UX 11 an error is occuring (attachment). Relay host in sendmail.cf is configured and it's hostname can be resolved (ping by histname to that server works). Still sendmail wont send the mail. It is complaining about "Service Unavailable"!
Please help !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:01 AM
05-26-2004 12:01 AM
Re: Sendmail problem
is the SMTP server up?
# telnet
to check.
# sendmail -v
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:33 AM
05-26-2004 12:33 AM
Re: Sendmail problem
# sendmail -v myadress@mydomain.com
some text
... Connecting to SMTPServer via relay...
220 SMTPServer Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at Wed, 26 May 2004 14:29:08 +0200
>>> HELO myhost.
501 5.5.4 Invalid Address
>>> HELO myhost.
501 5.5.4 Invalid Address
>>> QUIT
221 2.0.0 SMTPServer Service closing transmission channel
myadress@mydomain.com... Service unavailable
/home/sample/dead.letter... cannot open: Permission denied
myhost... Connecting to local...
myhost... Sent
MAILER-DAEMON... Closing connection to SMTPServer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:35 AM
05-26-2004 12:35 AM
Re: Sendmail problem
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:38 AM
05-26-2004 12:38 AM
Re: Sendmail problem
Do telnet smart_relay 25 from hp-ux box and check.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:48 AM
05-26-2004 12:48 AM
Re: Sendmail problem
Yes they are up to date.
About conectivity to mail server:
Yes:
# telnet sntpserver 25
Trying...
Connected to sntpserver.
Escape character is '^]'.
220 sntpserver.domain Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at Wed, 26 May 2004 14:45:10 +0200
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 02:04 AM
05-26-2004 02:04 AM
Re: Sendmail problem
I think I have found the solution:
In the /etc/hosts file the name of the host is as follows:
xxx.xxx.xxx.xxx host host. (WITH DOT AT THE END!)
For some reason sendmail takes the second name (the one with a dot!) and that name is not listed in the external SMTP server as a trusted host from which it can accept mails!Probably this is done because someone did not want the mail.log to be filled with the "can not qualify my own domain name" text over time!?
So this is just to watch over the same problem if it ppears in the future.
Anyway thanks to you all!