- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sendmail dsn=5.0.0, stat=Service unavailable messa...
Operating System - Linux
1819804
Members
3162
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-22-2008 01:43 PM
тАО02-22-2008 01:43 PM
sendmail dsn=5.0.0, stat=Service unavailable message
sendmail returned with error message in maillog file (dsn=5.0.0, stat=Service unavailable). I checked the /etc/hosts file, and added 'sendmail:localhost:allow' to /etc/hosts.allow. I still getting the same error message.
I also see the error message in /var/spool/mail/a342675 file (a342675 is the user sending e-mail).
----- Transcript of session follows -----
... while talking to gyrelay:
>>> MAIL From:
<<< 554 Mail from a342675@faya4l2.fay.goodyear.com rejected for policy reasons.
554 5.0.0 Service unavailable
I know sendmail port 25 is up running, also the sendmail daemon.
[root@faya4l2 mail]# netstat -alpn |grep sendmail
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 937/sendmail: accep
unix 2 [ ] DGRAM 1623925 937/sendmail: accep
[root@faya4l2 mail]#
[root@faya4l2 mail]# ps -ef | grep sendmail
root 937 1 0 16:17 ? 00:00:00 sendmail: accepting connections
smmsp 946 1 0 16:17 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
Thanks for any reply.
take easy, enjoy life
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2008 12:49 AM
тАО02-23-2008 12:49 AM
Re: sendmail dsn=5.0.0, stat=Service unavailable message
Are you running any milters (check for X lines in your sendmail.cf)? If you are, and they aren't running, you'll get this error.
That being said, the 'for policy reasons' is interesting. What does your '/etc/mail/access' say?
That being said, the 'for policy reasons' is interesting. What does your '/etc/mail/access' say?
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2008 07:36 AM
тАО02-25-2008 07:36 AM
Re: sendmail dsn=5.0.0, stat=Service unavailable message
The contents of /etc/mail/access file.
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
I have another system and the sendmail works.
I copied the sendmail.cf file from the working system, and still failed.
Below is from maillog file
1PFTC1T032535: m1PFTH1T032537: DSN: Service unavailable
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
I have another system and the sendmail works.
I copied the sendmail.cf file from the working system, and still failed.
Below is from maillog file
1PFTC1T032535: m1PFTH1T032537: DSN: Service unavailable
take easy, enjoy life
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2008 10:15 AM
тАО02-25-2008 10:15 AM
Re: sendmail dsn=5.0.0, stat=Service unavailable message
It is fixed, after I add correctly fully qualified domain name in /etc/hosts file.
Thanks.
Thanks.
take easy, enjoy life
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP