vacation.pl:

- disable TLS by default due to a bug in Mail::Sender 0.8.22
  (https://rt.cpan.org/Public/Bug/Display.html?id=85438)
  Actually, due to a bug in Mail::Sender 0.8.21, it was never enabled ;-)
- add new config option $smtp_tls_allowed to allow enabling TLS



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1616 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 11 years ago
parent ae2ed69138
commit e923f5842c

@ -18,6 +18,8 @@ Changes since 2.3.6 release
- trim() localpart in create-mailbox to avoid mailbox names with leading space
- mark vacation_notification.notified field as latin1 to avoid overlong index
- vacation.pl: encode subject
- vacation.pl: disable use of TLS by default due to a bug in Mail::Sender 0.8.22
(you can re-enable it with $smtp_tls_allowed)
Version 2.3.6 - 2013/01/02 - SVN r1417 (postfixadmin-2.3 branch)
----------------------------------------------------------------

@ -130,6 +130,7 @@ our $smtp_server_port = 25;
# SMTP authentication protocol used for sending.
# Can be 'PLAIN', 'LOGIN', 'CRAM-MD5' or 'NTLM'
# see "perldoc Mail::Sender" (search for "auth") for more options and details
# Leave it blank if you don't use authentification
our $smtp_auth = undef;
# username used to login to the server
@ -137,6 +138,10 @@ our $smtp_authid = 'someuser';
# password used to login to the server
our $smtp_authpwd = 'somepass';
# use TLS for the SMTP connection?
# while in general this would be a good idea, TLS with Mail::Sender 0.8.22 is buggy - https://rt.cpan.org/Public/Bug/Display.html?id=85438
our $smtp_tls_allowed = 0;
# Set to 1 to enable logging to syslog.
our $syslog = 0;
@ -438,6 +443,7 @@ sub send_vacation_email {
'auth' => $smtp_auth,
'authid' => $smtp_authid,
'authpwd' => $smtp_authpwd,
'tls_allowed' => $smtp_tls_allowed,
'skip_bad_recipients' => 'true',
'encoding' => 'Base64',
'ctype' => 'text/plain; charset=UTF-8',

Loading…
Cancel
Save