From ab5a6d5894cd00247c395f79b0ba915d78234ba9 Mon Sep 17 00:00:00 2001 From: Michael Krieger Date: Thu, 5 Mar 2020 17:41:45 -0500 Subject: [PATCH] Add configuration parameter defaulting to 'NO' Adds optional parameter to limit the alias destinations to local domains. An additional check makes sure that the domain is in the list of postfix domain names. --- config.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.inc.php b/config.inc.php index 376bfbe3..f1a0df15 100644 --- a/config.inc.php +++ b/config.inc.php @@ -505,6 +505,10 @@ EOM; // address is legal by performing a name server look-up. $CONF['emailcheck_resolve_domain']='YES'; +// When creating mailboxes or aliases, check that the domain-part of the +// address is local and managed by postfixadmin, preventing remote domains +// from being the destination for an alias +$CONF['emailcheck_localonly_domain']='NO'; // Optional: // Analyze alias gotos and display a colored block in the first column