sendmail: When adding EXTERNAL to auth mechs drop it from trusted mechs.
This commit is contained in:
parent
73e88d179a
commit
25d45e3017
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ define(`confTO_IDENT', `0')dnl
|
|||
dnl #
|
||||
<% if @ssl_key and @ssl_cert -%>
|
||||
define(`confAUTH_OPTIONS', `A p y')dnl
|
||||
TRUST_AUTH_MECH(`<%= @sendmail_auth_mech.join(' ') %>')dnl
|
||||
TRUST_AUTH_MECH(`<%= @sendmail_auth_mech.find_all{|mech| mech != 'EXTERNAL'}.join(' ') %>')dnl
|
||||
define(`confAUTH_MECHANISMS', `<%= @sendmail_auth_mech.join(' ') %>')dnl
|
||||
<% else -%>
|
||||
define(`confAUTH_OPTIONS', `A')dnl
|
||||
|
|
Loading…
Add table
Reference in a new issue