Hi Peter,
I have recently got my home mail server to use postfix sender dependent relayhost maps so specific emails get sent to specific ISP or other smtp servers.
I then tried to add my IPFire mails to the same system but have run into problems and am wondering if you can help me with any advice.
My ISP and gmail servers are using opportunistic TLS with port 587 and STARTTLS. However the IPFire smtp server (submissions.ipfire.org) uses implicit TLS with port 465 and this requires smtp_tls_wrappermode=yes and smtp_tls_security_level=encrypt. Those settings don't work with opportunistic TLS. smtp_tls_security_level=may has to be used but this doesn't work with implicit TLS.
It looks like sender dependent relayhost maps doesn't work when a combination of opportunistic TLS and implicit TLS servers are being sent to, at lease as far as I have been able to figure out.
On the wiki page https://wiki.ipfire.org/postmaster It mentions that the IPFire mail server mail01.ipfire.org uses opportunistic TLS, so I tried that one but that gave me the error message
connect to mail01.ipfire.org[81.3.27.42]:587: No route to host
Is that mail server no longer running? If it is still running, what have I missed out in my postfix setup. I presumed that my username and password for the submissions.ipfire.org mail server would be the same for the mail01.ipfire.org server but it looks like it doesn't even find the server. ping and dig still get responses back from the server.
At the moment all my emails except for the IPFire ones are being sent out via my postfix server. The IPFire ones I have set up Thunderbird to send direct to the submissions.ipfire.org server and not via my mail server.
That works okay but it would be nice if I could get everything working with the one system.
Regards,
Adolf.