0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

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.
This commit is contained in:
Michael Krieger 2020-03-05 17:41:45 -05:00 committed by GitHub
parent 3b1fffdf22
commit ab5a6d5894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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