Skip to content

Instantly share code, notes, and snippets.

@Alfakom-MK
Created December 28, 2021 07:10
Show Gist options
  • Save Alfakom-MK/c1f7afd9428a911dbf9ab6095e0efa3a to your computer and use it in GitHub Desktop.
Save Alfakom-MK/c1f7afd9428a911dbf9ab6095e0efa3a to your computer and use it in GitHub Desktop.
Postfix HELO Access override, reject own and accept external friendly mail servers
# REJECT OWN MAIL SERVER FQDN AND IP ADDRESS
#/^mail\.domain\.com$/ REJECT
#/^\[?1\.2\.3\.4\]?$/ REJECT
# ACCEPT EXTERNAL MAIL SERVERS
#/^mail\.domain\.com$/ OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment