Lloyd
02-04-2008, 06:24 AM
Does your ISP block port 25? That's the default SMTP (outgoing email) port. Many ISP's block port 25 and force users to use their SMTP server to send email.
This is easy to work around if you run your own mail server as a "smart host" relay on a Rimuhosting VPS or dedicated server. You can configure your mail server to listen on another port, in addition to port 25. This should allow you to send out your mail to your mail server.
Postfix is my favorite mail server. These instructions make Postfix listen on an additional port of your choice. For these instructions I have chosen port 2525. Any unused port should work OK.
Instructions are given for a Debian Etch installation running chrooted (the Etch default). Adapt if you are unlucky enough to use a different distro. :)
1. Open /etc/postfix/master.cf Add the following line, below the "smtp" line:
2525 inet n - - - - smtpd
Restart your Postfix server:
/etc/init.d/postfix restart
2. Open port 2525 in your firewall, if you use one. Webmin offers an easy, powerful IPTABLES-based firewall. For instructions on how to set it up, see this Rimuhosting how-to: http://rimuhosting.com/howto/firewall.jsp.
3. Configure your email client program to send email to your mail server on port 2525.
Lloyd Standish
http://seedsofthought.net
This is easy to work around if you run your own mail server as a "smart host" relay on a Rimuhosting VPS or dedicated server. You can configure your mail server to listen on another port, in addition to port 25. This should allow you to send out your mail to your mail server.
Postfix is my favorite mail server. These instructions make Postfix listen on an additional port of your choice. For these instructions I have chosen port 2525. Any unused port should work OK.
Instructions are given for a Debian Etch installation running chrooted (the Etch default). Adapt if you are unlucky enough to use a different distro. :)
1. Open /etc/postfix/master.cf Add the following line, below the "smtp" line:
2525 inet n - - - - smtpd
Restart your Postfix server:
/etc/init.d/postfix restart
2. Open port 2525 in your firewall, if you use one. Webmin offers an easy, powerful IPTABLES-based firewall. For instructions on how to set it up, see this Rimuhosting how-to: http://rimuhosting.com/howto/firewall.jsp.
3. Configure your email client program to send email to your mail server on port 2525.
Lloyd Standish
http://seedsofthought.net