02-22-2008 01:43 PM
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 firstname.lastname@example.org 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]# 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.
02-23-2008 12:49 AM
That being said, the 'for policy reasons' is interesting. What does your '/etc/mail/access' say?
02-25-2008 07:36 AM
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