%%% SMTP outbound relay configuration.
%%% Zotonic will send email itself, enable a relay if outgoing port 25 traffic is blocked.
%% {smtp_relay, false},
%% {smtp_host, "localhost"},
%% {smtp_port, 25},
%% {smtp_ssl, false},
%% {smtp_username, undefined},
%% {smtp_password, undefined},
%%% SMTP send all email into a blackhole, ideal for testing large mailings
%% {smtp_is_blackhole, false},
%%% SMTP extra relay options:
%%% some picky/buggy/misconfigured relays might need one of these to be enabled.
%% {smtp_no_mx_lookups, false},
%% {smtp_verp_as_from, false},
%%% SMTP mail queue.
%%% How long to keep sent messages in the mail queue (in minutes).
%%% Leave it long enough to receive any bounce message.
%% {smtp_delete_sent_after, 240},
%%% SMTP debug options.
%%% Send a copy of outgoing mail to this address:
%% {smtp_bcc, "bcc@localhost"},
%%% Send all mail to this address instead of the original recipient:
%% {email_override, "override@localhost"},
I have them on my dev machine as follows (with some redacted secrets):
%%% SMTP outbound relay configuration.
%{smtp_is_blackhole, true},
{smtp_relay,true},
{smtp_port,587},
{smtp_password, “…."},
%% {smtp_ssl, true},
%%% SMTP extra relay options:
%%% some picky/buggy/misconfigured relays might need one of these to be enabled.
{smtp_no_mx_lookups,true},
{smtp_verp_as_from,true},
%%% SMTP mail queue.
%%% How long to keep sent messages in the mail queue (in minutes).
%%% Leave it long enough to receive any bounce message.
%% {smtp_delete_sent_after, 240},
%%% SMTP debug options.
%%% Send a copy of outgoing mail to this address:
%% {smtp_bcc, "bcc@localhost"},
%%% Send all mail to this address instead of the original recipient:
%% {email_override, "override@localhost"},