On 19.08.22 13:27, witcher wrote:
I've set up Postfix for use as a relayhost, using multiple SMTP servers
via `sender_dependent_relayhost_maps`.
The issue I have is that one needs to use the settings
`smtp_tls_security_level = encrypt` and `smtp_tls_wrappermode = yes`,
while another one needs `smtp_tls_security_level = may` and
`smtp_tls_wrappermode = no`.
I configured `smtp_tls_security_level` per sender with
`smtp_tls_policy_maps`, but can't seem to figure out what (if it exists
at all) the attribute is called to set `smtp_tls_wrappermode` in the
policy maps. It doesn't seem to be `wrappermode` and I can't find
anything about what attributes are even supported here in the docs.
you can define multiple transports in master.cf and use them if you need
different client settings.
the default "smtp" transport and "relay" transport for domains in
relay_domains point to these:
smtp unix - - y - - smtp
relay unix - - y - - smtp
-o syslog_name=postfix/$service_name
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
so you can use transport like "smtpssl:" in your *relayhost_maps:
smtpssl unix - - y - - smtp
-o smtp_tls_wrappermode=yes
-o smtp_tls_security_level=encrypt
--
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.
BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease