I am trying to use Postfix to set up a mail relay to my ISP, to allow me send out emails from the system. I have done this in the past through YaST, but now that that’s no longer available, I’m not sure how to set up Postfix on a Leap 16 system. I know I need both TLS (required by my ISP) and masquerading for this to work.
I tried setting up TLS through the main.cfg file, including self-signed certificates, but when postfix starts up it complains about warning: problem talking to server private/tlsmgr: No such file or directory and I have no idea how that’s possible, let alone how to fix it. I haven’t even gotten to the point where I somehow must enter my user name and password at the ISP.
Is there a replacement for the YaST configuration tools, which took care of most of the details of setting up services, on Leap 16? If not, can anyone help me through the Postfix setup?
Update: I uninstalled and re-installed postfix, resulting in a clean main.cfg file (and made a backup of that, which I should have done from the start). I then recreated the settings I have on my Leap 15.6 machine (where sending email through my hosting provider works). Now what I get in the /var/log/mail output is:
2026-03-30T09:03:08.158907-04:00 {mmm} postfix/smtp[7024]:
A321340110: to=<{nnn}@{mmm}>, relay=mail.{ddd}.net[x.x.x.x]:465,
delay=0.49, delays=0/0/0.41/0.08, dsn=5.0.0, status=bounced (host
mail.{ddd}.net[x.x.x.x] said: 550-Please turn on SMTP Authentication in your
mail client. {external DNS name at ISP} ({mmm) 550-[y.y.y.y]:35308 is not permitted
to relay through this server without 550 authentication. (in reply to RCPT TO
command))
(linebreaks added for readability, names and IP addresses masked ({mmm} = machine, x.x.x.x = IP address, {ddd} = domain at my hosting provider, {nnn} = name).
Basically, it says I have to turn on SMTP authentication. This is the relevant section of my main.cf file (again, with names redacted):
Thanks, double-checking the files and permissions made me realize I created a file sasl_passw with the last letter d missing. I feel so stupid! So of course it wasn’t finding the configuration, the sasl_passwd file (which already existed, but only with comments explaining its usage) didn’t have anything.
Now the emails are going out. They still don’t seem to get delivered, so I will do some more troubleshooting, but at least I’m over this hump.