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).Buy Zelnorm
Purchase Casodex
Brafix
Buy Sustiva
Order Brahmi
Purchase Quibron-T
Purchase Chitosan
Purchase Serevent
Buy Requip
Buy Aciphex
Depakote
Order Himcolin
Purchase Urispas
Buy Protonix
Purchase Parlodel
Zyprexa
Rogaine
Purchase Rhinocort
Purchase Arava
Order Zetia
Premarin
Purchase Soma
Purchase Atacand
Order Lopressor
Viagra
Order Purinethol
Buy Lynoral
Lotensin
Cheap Abana
Order Hyzaar
Cheap Viagra
Purchase Aleve
Purchase Snoroff
Order Keftab
Buy Atrovent
Order Glucophage
Buy Levaquin
Naprosyn
Purchase Ambien
Order Evista
Deltasone
Purchase Naprosyn
Cheap Penisole
Order Flexeril
Purchase Oxytrol
Cozaar
Order Hydrocodone
Buy Karela
Purchase Flexeril
Cheap Elimite
Purchase Lotrisone
Buy Shoot
Order Renalka
Purchase Flonase
Buy Propecia
Order Cephalexin
Cheap Koflet
Order Acyclovir
Order Atarax
Cheap Mexitil
Order Pamelor
Order Imdur
Buy Ultram
Buy Ativan
Purchase Aldactone
Order Prilosec
Order Risperdal
Order Meridia
Cheap Serevent
Order Lotensin
Purchase Geodon
Famvir
Purchase Flomax
Wellbutrin SR
Cheap Cipro
Order Overnight
Purchase Penisole
Purchase Vytorin
Purchase Prozac
Abana
Cheap Xeloda
Buy Plavix
Purchase Oxycontin
Cheap Didronel
Buy Premarin
Buy Pletal
Revia
Purchase Vantin
Order Premarin
Cheap Aciphex
Female Sexual
Codeine
Elavil
Buy Clarina
Order Abana
Cheap Himcolin
Purchase Darvocet
Cheap Propecia
Buy Atacand
Order Procardia
Buy Endep
Pletal
Buy Avapro
Order Copegus
Purchase Brahmi
Order Aleve
Celexa
Purchase Rimonabant
Purchase Effexor
Purchase Seroquel
Micardis
Cheap Coreg
Order Stromectol
Buy Oxycontin
Altace
Purchase Ismo
Purchase Tulasi
Prevacid
Buy Rocaltrol
Purchase Capoten
Touch-Up Kit
Purchase Bupropion
Zocor
Cheap Ventolin
Purchase Mentat
Buy Tulasi
Purchase Himplasia
Order Cymbalta
Gyne-Lotrimin
Exelon
Noroxin
Percocet
Purchase Zocor
Buy Pravachol
Cephalexin
Buy Flomax
Cheap Cordarone
Cheap Valium
Diovan
Calan
Buy Effects
Order Clonazepam
Order Sustiva
Order Mysoline
Parlodel
Cheap Hyzaar
Dilantin
Order Pravachol
Buy Topamax
Order Actos
Cheap AyurSlim
Cheap Reosto
Purchase Shoot
Order Himcospaz
Purchase Alprazolam
Order Deltasone
Cheap Lopressor
Cheap Dostinex
Order Depakote
Mobic
Buy Leukeran
Purchase Sustiva
Cheap Zanaflex
Order Avandamet
Buy Levitra
V-Gel
Buy Tramadol
Antabuse
Cheap Carisoprodol
Aristocort
Purchase Maxaquin
Cheap Purinethol
Order Liv.52
Cheap Prometrium
Yerba Diet
Cheap Acyclovir
Purchase Viagra
Buy Ansaid
Atacand
Cheap Vantin
Order Diflucan
Cheap Karela
Buy Kamagra
Cheap Prandin
Order Karela
Purchase Liv.52
Order Ophthacare
Purchase Rogaine
Buy Lortab
Buy Evista
Cheap Geodon
Order Zantac
Cheap Zetia
Buy Lipitor
Koflet
Menosan
Buy Prevacid
Buy Mobic
Buy Carisoprodol
Cheap Ashwagandha
Purchase Diakof
Herbal Maxx
Purchase Methocarbam
Serevent
Buy Rogaine
Risperdal
Purchase Proventil
Buy Femcare
Cheap Urispas
Buy Myambutol
Purchase Aricept
Buying Adipex
Cheap Plavix
Cheap Viramune
Purchase Risperdal
Accutane
Order Clomid
Clonazepam
Order Styplon
Order Rimonabant
Purchase Feldene
Buy Superman
Purchase Accupril
Alprazolam
Purchase Ashwagandha
Purchase Vicodin
Order Zimulti
Cheap Levlen
Buy Accutane
Order Avodart
Cheap Trimox
Buy Seroquel
Herbolax
Cheapest Generic
Buy Zovirax
Trimox
Didronel
Buy Lorazepam
Propecia
Cheap Brite
Buy Menosan
Order Diakof
Aciphex
Cheap Renalka
Cheap Sorbitrate
Order Fosamax
Purchase Phentermine
Cheap Tenuates
Cheap Xenacore
Cheap Shoot
Cheap Endep
Buy Cephalexin
Buy Diflucan
Order Avandia
Elimite
Nizoral
Purchase StretchNil
Purchase Hyzaar
Plavix
Prinivil
Order Himplasia
Order Cardizem
Buy Lotrisone
Cheap Prevacid
Cheap Geriforte
Buy Glucophage
Acyclovir
Purchase Antabuse
Cheap Zovirax
Buy Micardis
Copegus
Buy Sumycin
Cheap Zyrtec
Order Atrovent
Purchase Lanoxin
Purchase Propecia
Buy Proscar
Prilosec
Purchase Ultram
Buy Purim
Order Amoxil
Eurax
Buy Gasex
Buy Paxil
Buy Soma
Mentax
Singulair
High Love
Buy Zanaflex
Cheap Prinivil
Purchase Acomplia
Order Synthroid
Order Diarex
Order Brite
Order Lopid
Buy Butalbital
Buy Casodex
Buy Loprox
Buying Ultram
Lopid
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.
You will also need to modify the port in your mail client to use the new SMTP port.
More news by category Topic -: Buy phentermine saturday delivery ohio Tramadol hydrochloride tablets Picture of xanax pills Free shipping cheap phentermine Buying phentermine without prescription Safety of phentermine Pyridium Generic viagra cialis Cialis generic india Pink oval pill 17 xanax identification Buy free phentermine shipping Best price for generic viagra Information about street drugs or xanax bars Ordering viagra Snorting phentermine Hydrocodone overdose Lithium Amiodarone Get online viagra Order viagra prescription Order xanax paying cod Cheap phentermine free shipping Imiquimod Tramadol next day Linkdomain buy online viagra info domain buy onlin Pfizer viagra sperm Vidarabine Cheapest viagra price Prevacid Viagra cialis levitra comparison Dutasteride Lisinopril Thiotepa Female spray viagra Black market phentermine Betamethasone Cialis forums What does xanax look like Loss phentermine story success weight Order xanax overnight Viagra alternative uk Diet online phentermine pill Order xanax cod Mecamylamine Eulexin Cheap hydrocodone Buy cheapest viagra Viagra xenical Phentermine with no prior prescription Xanax in urine Macrodantin Cheap phentermine with online consultation Epivir Buy phentermine epharmacist Ditropan Woman use viagra Cialis erectile dysfunction Xanax withdrawl message boards Viagra online store Atorvastatin Generic ambien Is phentermine addictive Next day delivery on phentermine Buy online viagra Ethanol Natural phentermine Avandamet Xanax long term use Diet page phentermine pill yellow 5 cheap Cheapest secure delivery cialis uk Information medical phentermine Cialis experience Phentermine no perscription Compare ionamin phentermine Viagra cialis levivia dose comparison Noroxin Effects of viagra on women Buy cheap cialis Viagra shelf life Hydroxyurea Phentermine discount no prescription Buy cheap online viagra Dog xanax Online cialis Viagra class action Viagra price Phentermine without prescription and energy pill Hydrocodone cod only Nicoumalone Cheapest viagra Cheap ambien Vicodin without prescription Phentermine prescription online Phentermine snorting Mirtazapine Quazepam Isradipine Buy generic viagra online Xanax look alike Moxifloxacin Viagra experiences Piroxicam Nicorette Free try viagra Sotalol Cash on delivery shipping of phentermine How do i stop taking phentermine Xanax prescriptions Cheapest phentermine 90 day order Niacinamide Phentermine weight loss Phentermine
-------------------------
Digg it
del.icio.us
Technorati?
January 13th, 2008 at 4:29 am
Awesome thanks too.
January 15th, 2008 at 2:30 am
Prior to performing this fix, I can receive ALL emails fine, I just can’t send via port 25 (since my ISP blocks it!)
Post performing this fix: I can send ALL emails just fine, but I can no longer receive emails from outside my domain.
Any suggestions or tips on why after doing this I can’t receive emails from outside my domain?
February 15th, 2008 at 3:29 am
Eric, you must have it listen on BOTH 25 AND the new port. Read the instructions a little closer.
Simply copy/paste the existing smtp line and change the name and port (we’ll use port 26 in this example).
Copy, then change
April 1st, 2008 at 5:22 am
Thanks for the tip. Did everything, netstat reports listening not problem. QMail however is not responding on this port. Should something also be changed in the QMail config. I am using Plesk 8
Thanks.
May 15th, 2008 at 11:00 am
I’m running Red Hat Linux, and I can’t figure out where to change my SMTP Port as my ISP Blocks 25?