Fix for sendmail daemons that don't support EHLO. We never use the extended
functionality anyway, so replace it with a standard HELO. Thanks to Ken Key for helping me track this down.
This commit is contained in:
Родитель
2a335cab81
Коммит
58f3eab2ff
|
@ -281,7 +281,7 @@ sub mail_notification {
|
|||
select(S); $| = 1; select(STDOUT);
|
||||
|
||||
get_response_code(220);
|
||||
print S "EHLO $hostname\n";
|
||||
print S "HELO $hostname\n";
|
||||
get_response_code(250);
|
||||
print S "MAIL FROM: bonsai-daemon\@$hostname\n";
|
||||
get_response_code(250);
|
||||
|
|
Загрузка…
Ссылка в новой задаче