generated from smedev/Template-for-SMEServer-Core-Package
* Sun Dec 29 2024 Brian Read <brianr@koozali.org> 1.0-10.sme
- Quotes round smtp-auth-proxy in templates for main.cf and sasl-passwd [SME: 12836]
This commit is contained in:
@@ -11,7 +11,7 @@ smtp_tls_note_starttls_offer = yes
|
||||
# was issued by a CA that is trusted by the Postfix SMTP client
|
||||
}smtp_tls_security_level = {
|
||||
my $smarthost = $SMTPSmartHost || "off";
|
||||
my $userid = ${smtp-auth-proxy}{'Userid'} || "";
|
||||
my $userid = ${'smtp-auth-proxy'}{'Userid'} || "";
|
||||
my $tls_security_level = $postfix{'tls_security_level'} || "may";
|
||||
$tls_security_level = "encrypt" if ($smarthost ne "off" && $userid ne "");
|
||||
$OUT = $tls_security_level;
|
||||
|
@@ -1,9 +1,9 @@
|
||||
## SME relay outgoing mails to smarthost
|
||||
{
|
||||
my $smarthost = $SMTPSmartHost || "off";
|
||||
my $userid = ${smtp-auth-proxy}{'Userid'} || "";
|
||||
my $password = ${smtp-auth-proxy}{'Passwd'} || "";
|
||||
my $port = ${smtp-auth-proxy}{'PeerPort'} || "25";
|
||||
my $userid = ${'smtp-auth-proxy'}{'Userid'} || "";
|
||||
my $password = ${'smtp-auth-proxy'}{'Passwd'} || "";
|
||||
my $port = ${'smtp-auth-proxy'}{'PeerPort'} || "25";
|
||||
return "#Smarthost disabled" unless $smarthost ne "off";
|
||||
$OUT = "relayhost = [$smarthost]:$port\n";
|
||||
if ($userid ne "")
|
||||
|
@@ -1,9 +1,9 @@
|
||||
## SME relay outgoing mails to smarthost
|
||||
{
|
||||
my $smarthost = $SMTPSmartHost || "off";
|
||||
my $userid = ${smtp-auth-proxy}{'Userid'} || "";
|
||||
my $password = ${smtp-auth-proxy}{'Passwd'} || "";
|
||||
my $port = ${smtp-auth-proxy}{'PeerPort'} || "25";
|
||||
my $userid = ${'smtp-auth-proxy'}{'Userid'} || "";
|
||||
my $password = ${'smtp-auth-proxy'}{'Passwd'} || "";
|
||||
my $port = ${'smtp-auth-proxy'}{'PeerPort'} || "25";
|
||||
return "#Smarthost disabled" unless $smarthost ne "off";
|
||||
$OUT = "";
|
||||
if ($userid ne "")
|
||||
|
Reference in New Issue
Block a user