[RndTbl] Shaw now blocking SMTP port 25

John Lange john.lange at open-it.ca
Wed May 23 18:09:46 CDT 2007


On Wed, 2007-05-23 at 10:33 -0500, Sean Cody wrote: 
> The general rule of thumb is to always use the DNS and SMTP relay of  
> your immediate upstream provider anyways.

Yup but this is a serious pain in the *ss if you work constantly from a
laptop like I do. You'd have to change the settings every time you move.

> If it is a privacy issue then there are easy ways (for the  
> technically savvy) around it (ie. -L25:127.0.0.1:25).

For the less savvy (like me) who don't use ssh tunnels that much (until
now) here is the solution which I had to research today:

Make the following run at boot time and it will establish a ssh tunnel
on a non-privileged local port (2525) using a non-privileged local
user. 

sudo -u localuser ssh -f -L 2525:127.0.0.1:25 -l remoteuser -N mail.remoteserver.com

Set your outbound SMTP for mail sending to 127.0.0.1:2525

John




More information about the Roundtable mailing list