« Home | 3 High and Low Tech Tools for Genealogy Research » | What Should You Be Looking At On Your GFE (Good Fa... » | Charity Car Donation to Help Those in Need » | Warming Up Those Cold Calls » | Mesothelioma: Legal Ramifications » | Get Competitive Quotes on Home Insurance Quickly a... » | The No-Hassle Way To Topping Up Your Life Cover » | Effective Trademarks - How to Select a Good Name » | Eliminate Agonizing Hand Pain Quickly and Easily! » | Scooter Lift » 

Thursday, November 29, 2007 

SMTP - How To Run SMTP On A Different Or Additional Port In Linux With Plesk

For one reason or another some people like to run their SMTP service on a port other than the standard TCP port 25. Whether it's to bypass their ISP's firewall, provide a second instance of SMTP, or maybe just to be different.

This article will show you a simple way to do this on a Linux server running the Plesk control panel.

In '/etc/xinetd.d/' there is a file called smtp_psa, you will need to copy this file to another filename (in this example I'll use smtp2_psa).

In this new file, you will want to change the line:
'service smtp' to 'service smtp2'

Once this is complete, you will need to modify your /etc/services file, and add the smtp2 service: Simply copy/paste the existing smtp line and change the name and port (we'll use port 26 in this example).

smtp2 26/tcp mail smtp2 26/udp mail
Restart xinetd. # /etc/init.d/xinetd restart

Check to make sure the new port is now listening # netstat -plunt |grep :26

That should return something similar to

tcp 0 0 0.0.0.0:26 0.0.0.0:* LISTEN 2345/xinetd
You can test this connection from the outside by trying to telnet to port 26 on the server. From a linux shell or Windows command prompt enter

# telnet 123.123.123.123 26

(be sure to replace 123.123.123.123 with your server's real IP address) If it's successful it should return something similar to

Trying 123.123.123.123... Connected to hostname.domain (123.123.123.123). Escape character is '^]'. 220 hostname.domain.tld ESMTP
Enter 'quit' to quit the telnet session.

Travis is a freelance server administrator and computer consultant at Serverjuice
For more howtos and guides visit Howto Monster

You will also need to modify the port in your mail client to use the new SMTP port.

Bipolar Disorder
How To Improve Sexual Stamina
Underarm Sweat
Car Auctions In Miami Florida
Jelqing In Ulster County Ny
Iw Treatment For Excessive Sweating
Movies About Extramarital Affairs
721999 Child Visitation Form Letter
Cmp Carrier Sale Tow Truck Used
8222002 Camera Caught Cheating Spouse
Excessive Feet Sweating
Male Sex Stamina
Natural Cure Hyperhidrosis
Penile Enlargement Patch
Document Visitation Age
Isd Jeep Liberty For Sale
Cheating Wife Birthday Ecard
Child Custody Expect Hearing Visitation
Used Ford Mustangs For Sale
7132001 Cheating Spouses Caught On Video
Zh Autos Mexico
Art Party Sex
Diseases That Cause Sweating
Used Automobile Part
Xke Jaguar For Sale
Jelqing In Franklin County Va
3191998 Tennessee Child Support Calculator
Child Custody Mediation
Grandparent Rights In Michigan
Volkswagen Car For Sale