Skip to content

Instantly share code, notes, and snippets.

@rudiedirkx
Created June 7, 2023 23:19
Show Gist options
  • Save rudiedirkx/25367ea7613a25953d64e82ead26a875 to your computer and use it in GitHub Desktop.
Save rudiedirkx/25367ea7613a25953d64e82ead26a875 to your computer and use it in GitHub Desktop.
--- sendmail.mc 2023-06-05 18:02:04.731427285 +0200
+++ sendmail.mc 2023-06-05 18:04:03.723468728 +0200
@@ -88,4 +88,10 @@
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
+
+MASQUERADE_AS(example.com)dnl
+FEATURE(masquerade_envelope)dnl
+FEATURE(masquerade_entire_domain)dnl
+MASQUERADE_DOMAIN(example.com)dnl
+
dnl #
dnl # If you're on a dialup link, you should enable this - so sendmail
@@ -103,2 +109,4 @@
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