Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modification HELO information/parameters #495

Merged
merged 1 commit into from
May 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion VIRTUAL_VACATION/vacation.pl
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@
# 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
Expand Down Expand Up @@ -479,6 +482,7 @@ sub send_vacation_email {
ssl => $smtp_ssl,
timeout => $smtp_timeout,
localaddr => $smtp_client,
helo => $smtp_helo,
debug => 0,
};

Expand Down