Skip to main content
There are various ways to configure Postfix with Guardian Mail. The following is our preferred method. Edit /etc/postfix/main.cf Add the following in the “smtpd_recipient_restrictions” parameter. It should be placed after “reject_unauth_destination“.
Replace <APIKEY> with “Your API key” from your account in app.abusix.com. Next, to prevent your API key from being leaked, create /etc/postfix/rbl_reply_map with the following:
Replace <APIKEY> with “Your API key” from your account in app.abusix.com. If you are using Postscreen, you can omit the “reject_rbl_client” entry and instead add:
Replace <APIKEY> with “Your API key” from your account in app.abusix.com. Then to prevent your API key from leaking, create /etc/postfix/postscreen_dnsbl_reply_map, which should contain the following:
Replace <APIKEY> with “Your API key” from your account in app.abusix.com. Then reload Postfix to activate this configuration.