Mail relaying fun
For the second time, my damned ISP has blocked port 25. No real reason, I have secure Linux boxes as the only things sending email; I would get 5-6 server reports a day. That's all. But they blocked me again, and I am sick of arguing with the scripted Indian morons.
Anyway, on the main Linux box,
ragnarokjr (named so because it is a VM box), I was able to finally get
qmail to send all mail thru TLS:
- Applied the full netqmail TLS patch to get
- Erased it all and re-unzipped
- Copied in the
- Applied the remote auth patch only
/var/qmail/control/smtproutesto include name and password:
:smtp.isp.net:587 username password
smtproutesowned by "
chmod og-rso it's kinda secured
qmail-remote will use TLS on port 587 as needed to get around the stupid block…
One of my other machines runs CentOS which uses
exim instead of
qmail and it took me a while to find this FAQ.
/etc/exim/exim.conf, in the "routers" section: send_to_gateway: driver = manualroute transport = remote_smtp route_list = * ragnarokjr.revragnarok.com no_more
And of course,
Hopefully, this can help somebody else. I was searching all kinds of terms like "exim upstream" (lots of Debian stuff saying what changed from standard) and it took a bit…