On 06.02.22 11:07, Forums wrote:
From what I had been told and what I could read, port 465 is
deprecated and I had to use port 587. So for outgoing emails I use
port 587.
it was "deprecated" (not really standardised) for ~20 years, since RFC 2476
(December 1998) was introduced, but last 4 years it's even recommended:
RFC 8314 (January 2018)
There may be subtle differences, but still, 465 and 587 have de facto same
usage and therefore should have same . Of course you may set different
policies in your company/network/server, I just don't recommend it.
For "local" emails (accounts used by my private servers) I use port 25
to send because these accounts do not send to external email and are
redirected to my personnal account. Only 4 email accounts are used to
send/receive emails form/to external emails.
since port 25 is used for server-(mx) server traffic, it can be used for
spam sending, so different ISPs often block outgoing connections to port 25,
and recommend using ports above where authentication should be mandatory.
smtpd_milters = inet:localhost:12345
what does this do?
It's used by opendkim.
aha. amavis can do DKIM too, but it's your decision where to do it.
I put disclaimer filter directive under "submission" line in
master.cf and keep "postscreen":
smtp inet n - y - 1 postscreen
[...]
submission inet n - y - - smtpd
-o content_filter=disclaimer:
are you aware that submission only applies to mail submitted via
port 587?
It's seems yes but not sure.
I mean, this way mail sent via port 587 will only be run through your
disclaimer, the rest (25 465) only through amavis.
I'm asking if this is what you wanted.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The 3 biggets disasters: Hiroshima 45, Tschernobyl 86, Windows 95