{"id":63,"date":"2005-05-14T09:26:52","date_gmt":"2005-05-14T14:26:52","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=63"},"modified":"2005-05-14T09:26:52","modified_gmt":"2005-05-14T14:26:52","slug":"blocking-port-25","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/63\/blocking-port-25\/","title":{"rendered":"Blocking Port 25"},"content":{"rendered":"<p>So, for the first time this weekend, I&#8217;m on a network where outgoing mail on port 25 is blocked.  How annoying.<\/p>\n<p>I use a number of mail servers in a number of different ways. Typically, when on one of my Linux boxes (zeus or athena) I&#8217;ll send mail directly from those servers by using a localhost Postfix installation, and no smart or relay hosts. I don&#8217;t really see a need for my ISP to see my mail, and doing it this way is the default setup for most Linux distros that I&#8217;m aware of.<\/p>\n<p>If I&#8217;m someplace that doesn&#8217;t have a mail server (ie the powerbook, creusa, or the mac mini, hermes), I use athena as a mail host, on which I have installed SASL authentication. Athena is set up to accept mail in a couple cases:<\/p>\n<p>1. Mail from local network. This includes all the IPs in my block on Sagonet.<br \/>\n2. SASL Authenticated users: This users password authentication against the local mail database to check users who can login to the server to send mail.<\/p>\n<p>As such, the server is protected against being an open relay (so long as I don&#8217;t get a spammer on the local machine, but I don&#8217;t think that&#8217;s going to be the case), and I like having it there as a backup for when other mail servers fail me. wedu&#8217;s mail uses POP before SMTP for authentication, which is all well and good, but can be a pain since the logs are reset at :45 past the hour, and if you try and send mail right after that, you get a nice &#8220;Relay denied&#8221; message.<\/p>\n<p>In any case, I tried to send mail this morning via crschmidt.net&#8230; and got a timeout. Tried getting there from here, no go. Panicked a bit, since this is my main mail server, and if it&#8217;s down, that&#8217;s a bad thing. Tested it from zeus: no problems. Tested it locally: no problems. Tried going to another port 25&#8230; problems. So it&#8217;s on the Ameritech end. Great.<\/p>\n<p>Set up an ssh tunnel: ssh -L 25:localhost:25 crschmidt@crschmidt.net. Set up a server in Mail.app as localhost port 25. Forward my mail. Sigh at Ameritech. Bitch in weblog. And the circle of life continues.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, for the first time this weekend, I&#8217;m on a network where outgoing mail on port 25 is blocked. How annoying. I use a number of mail servers in a number of different ways. Typically, when on one of my Linux boxes (zeus or athena) I&#8217;ll send mail directly from those servers by using a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-smtp"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}