SF.net SVN: postfixadmin:[1615] trunk/VIRTUAL_VACATION/vacation.pl
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2013-12-28 19:35:30
|
Revision: 1615 http://sourceforge.net/p/postfixadmin/code/1615 Author: christian_boltz Date: 2013-12-28 19:35:28 +0000 (Sat, 28 Dec 2013) Log Message: ----------- 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 Modified Paths: -------------- trunk/VIRTUAL_VACATION/vacation.pl Modified: trunk/VIRTUAL_VACATION/vacation.pl =================================================================== --- trunk/VIRTUAL_VACATION/vacation.pl 2013-12-28 16:31:13 UTC (rev 1614) +++ trunk/VIRTUAL_VACATION/vacation.pl 2013-12-28 19:35:28 UTC (rev 1615) @@ -154,6 +154,7 @@ # 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 authentication our $smtp_auth = undef; # username used to login to the server @@ -168,6 +169,10 @@ # From: Some Friendly Name <ori...@re...main> our $friendly_from = ''; +# 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; @@ -521,6 +526,7 @@ 'auth' => $smtp_auth, 'authid' => $smtp_authid, 'authpwd' => $smtp_authpwd, + 'tls_allowed' => $smtp_tls_allowed, 'smtp_client' => $smtp_client, 'skip_bad_recipients' => 'true', 'encoding' => 'Base64', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |