Bacula & Postfix as a relay

If you have Bacula installed on a machine that has Postfix configured to relay mail to another host, the Bacula bsmtp command will fail with “relay access denied” messages such as this:

To fix this, you can do one of two things.

SECURE OPTION

Add the domain of the email address you are trying to send the emails to with the relay_domains parameter:

INSECURE OPTION

The following makes Postfix an open relay. ONLY DO THIS IF YOU HAVE TAKEN OTHER STEPS TO SECURE THE MACHINE. If you do not, your server could be used to relay spam.

RESTART POSTFIX

When you are done, restart Postfix, and your mail should now send.

Comments

comments

Be the first to comment

Leave a Reply

Your email address will not be published.


*