This Blog is to share our knowledge and expertise on Linux System Administration and VMware Administration

Tuesday, June 26, 2018

Solved : Sendmail stat=Service unavailable

Situation : Maillog says Service unavailable

Jun 24 06:43:54 testserver sendmail[24622]: w5O4hsFN024620: to=<> ctladdr=<> (20001/20001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=150623, [], dsn=5.0.0, stat=Service unavailable


Go to /etc/mail path 

Step1 : generics-domains file should be below format.

[root@testserver mail]# cat generics-domains

Step2 : genericstable file should be below format

[root@testserver mail]# cat /etc/mail/genericstable

Map the genericstable by running below command.

# makemap hash /etc/mail/genericstable < /etc/mail/genericstable

Here,    : Change to your relay server authentication mail id                      : Your smtp server name                : Where you want to send mails           : smtp server mail id

Now mail will be accepted by relay server.

No comments:

Post a Comment