Skip to content

Instantly share code, notes, and snippets.

@rudiedirkx
Created May 5, 2022 21:44
Show Gist options
  • Save rudiedirkx/ddf2a60f19a36e4a6fde5f5c53a5fd07 to your computer and use it in GitHub Desktop.
Save rudiedirkx/ddf2a60f19a36e4a6fde5f5c53a5fd07 to your computer and use it in GitHub Desktop.
sendmail.mc.diff
@@ -88,6 +88,12 @@
dnl # Stop connections that overflow our concurrent and time connection rates
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
+
+MASQUERADE_AS(digitalinsightsplatform.nl)dnl
+FEATURE(masquerade_envelope)dnl
+FEATURE(masquerade_entire_domain)dnl
+MASQUERADE_DOMAIN(digitalinsightsplatform.nl)dnl
+
dnl #
dnl # If you're on a dialup link, you should enable this - so sendmail
dnl # will not bring up the link (it will queue mail for later)
@@ -102,3 +108,6 @@
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl
+
+LOCAL_CONFIG
+H?P?Return-Path: [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment