mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Merge pull request #2111 from mpkossen/master
Capitalize SMTP auth command for broader compatibility.
This commit is contained in:
@@ -965,7 +965,7 @@ elsif ($sm) {
|
||||
'pass' => $pass } );
|
||||
&error("Failed to create Authen::SASL object") if (!$sasl);
|
||||
local $conn = $sasl->client_new("smtp", &get_system_hostname());
|
||||
local $arv = &smtp_command($h, "auth $auth\r\n", 1);
|
||||
local $arv = &smtp_command($h, "AUTH ".uc($auth)."\r\n", 1);
|
||||
if ($arv =~ /^(334)(\-\S+)?\s+(.*)/) {
|
||||
# Server says to go ahead
|
||||
$extra = $3;
|
||||
|
||||
Reference in New Issue
Block a user