Browse by category

Search    |    Advanced search

Why do I keep getting “Relaying Denied” errors when sending mail from other hosts?

By default FreeBSD uses sendmail which is configured to only send email from the host it is running on. For example, if a POP server is available, then users will be able to check mail from any where, but they still will not be able to send outgoing emails from outside locations. Typically, a few moments after the attempt, an email will be sent from MAILER-DAEMON with a “5.7 Relaying Denied” error message.

To solve this problem, put your ISP's address in a relay-domains file at: /etc/mail/relay-domains. SSH to the server and run the following command:

Add comment
Views: 722
Votes: 0
Comments: 0

Other articles in this Category