Browse Source
Modification HELO information/parameters
Modification of the comments for the HELO configuration, and addition of the HELO parameter in the transport.
pull/495/head
Christophe Gherardi
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
VIRTUAL_VACATION/vacation.pl
|
|
|
@ -58,9 +58,12 @@ our $smtp_server = 'localhost'; |
|
|
|
# port to connect to; defaults to 25 for non-SSL, 465 for 'ssl', 587 for 'starttls' |
|
|
|
our $smtp_server_port = 25; |
|
|
|
|
|
|
|
# this is the local address from which to connect |
|
|
|
our $smtp_client = 'localhost'; |
|
|
|
|
|
|
|
# this is the helo we [the vacation script] use on connection; you may need to change this to your hostname or something, |
|
|
|
# depending upon what smtp helo restrictions you have in place within Postfix. |
|
|
|
our $smtp_client = 'localhost'; |
|
|
|
our $smtp_helo = 'localhost.localdomain'; |
|
|
|
|
|
|
|
# send mail encrypted or plaintext |
|
|
|
# if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely; otherwise, no security |
|
|
|
@ -479,6 +482,7 @@ sub send_vacation_email { |
|
|
|
ssl => $smtp_ssl, |
|
|
|
timeout => $smtp_timeout, |
|
|
|
localaddr => $smtp_client, |
|
|
|
helo => $smtp_helo, |
|
|
|
debug => 0, |
|
|
|
}; |
|
|
|
|
|
|
|
|