How to Add an Additional Outoing Mail, SMTP Port

Pertains to: Mediatemple (dv) Dedicated Virtual Accounts before v3.5, using Plesk

After spending over 20 hours simply trying to simply setup a customer’s email client, we decided that this deserves some documentation we couldn’t find elsewhere.

Using MediaTemple, I can’t seem to send email, my smtp server is failing?

The problem: Apparently several ISP’s on the west coast (particularly in California – including AT&T, Comcast) block all traffic on port 25.  AT&T’s support article detailing why they block port 25 (You’ll need to click the support link at the bottom to access the area, then paste the link again)

So save your time!  In our case it had nothing to do with our client’s email program (e.g. Apple Mail, Thunderbird, Outlook, etc), nothing to do with their network, or even our host mediatemple!  AT&T was blocking all traffic on port 25; which is the industry standard for outgoing mail, or connecting to an SMTP server.

Why are they blocking port 25 Yarrghh?

AT&T and many ISP’s have begun to block that port in order to “combat junk email and spam from mis-configured and virus-infected computers.”  Which to us seems to not really solve the problem, but run away from it for a period of time, until spammers begin using a different port anyway.   But perhaps it will have a similar affect as alternating phaser modulation used on the borg. In any case, here’s how you can fix it:

How to Configure an Additional SMTP Port on Plesk, Mediatemple

Many times your host will already provide the additional port (e.g. 2525, or 587, or 26) be sure to ask them first.  If you’re the host, continue on.

1) Log into your plesk account as root.  To do so, you’ll need to make sure root is enabled, and you’ll need the password.  (More on root access)
2) Goto Virtuozzo -> File Manager

3) Find the file: /etc/xinetd.d/smtp_psa

4) Copy the file and rename as smtp_nonstandard.

5) Edit the file.  You’re final file will look like:

service smtp2
{
port = 587
type = UNLISTED

socket_type     = stream
protocol        = tcp
wait            = no
disable        = no
user            = root
instances       = UNLIMITED
server          = /var/qmail/bin/tcp-env
server_args     = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

}

From our original file, we’ve changed 3 things.  “service smtp2″ is the name for the new process. And you’ll add 2 parameters: port & type to tell the service to listen on our new port.  Choose any port number you’d like, however we recommend 587, or perhaps 2525 – you’ll need to make sure you’re not trumping a port that’s already in use.

6) Last, you’ll need to SSH into your server as root user.  When in, execute this command to restart your services:
/etc/init.d/xinetd restart

Outoing Mail SMTP References


30 Responses to “How to Add an Additional Outoing Mail, SMTP Port”

  • Myrtle Woodby Says:

    howdy I read your web logs every the time, you have numerous tremendous things to sound out. My readers would like your manner, do you imagine you could be a invitee blogger for me?

  • how not to be shy Says:

    I clicked on one particular of the adverts here and i will need to get again there but i can’t bear in mind what it was and it isn’t showing at the moment.

  • Madge Whitaker Says:

    Greetings from New Farm. Thanks for the useful content. I’m doing a project at uni and your stuff was quite useful. Thanks for sharing :)

  • prostate cancer Says:

    lund sex…

    [...]How to Add an Additional Outoing Mail, SMTP Port | breakthrough design[...]…

  • BG mail Says:

    Attractive portion of content. I simply stumbled upon your website and in accession capital to say that I acquire in fact loved account your weblog posts. Anyway I’ll be subscribing for your feeds or even I fulfillment you get entry to persistently quickly.

  • long island tax grievance Says:

    The blog is really awesome, it has lot of information and content. Thank You Guys.

  • celebrity birthdays Says:

    Aw, this was a really nice post. In thought I would like to put in writing like this moreover – taking time and actual effort to make an excellent article… but what can I say… I procrastinate alot and in no way seem to get one thing done.

  • birthdays Says:

    I simply could not depart your website prior to suggesting that I actually loved the usual info a person provide for your guests? Is gonna be back incessantly to check up on new posts.

  • guitar keychain Says:

    Wow, superb weblog structure! How lengthy have you been blogging for? you make blogging glance easy. The entire look of your site is magnificent, let alone the content material!

  • halloween costumes Says:

    What’s Happening i’m new to this, I stumbled upon this I’ve found It positively helpful and it has aided me out loads. I hope to contribute & help different customers like its helped me. Great job.

  • stationery Says:

    I have been exploring for a little for any high-quality articles or blog posts in this kind of house . Exploring in Yahoo I eventually stumbled upon this website. Reading this info So i’m satisfied to show that I’ve an incredibly good uncanny feeling I found out just what I needed. I such a lot definitely will make sure to don’t overlook this website and provides it a glance on a constant basis.

  • Free Classified Ads USA Says:

    Great – I should definitely pronounce, impressed with your website. I had no trouble navigating through all the tabs as well as related info ended up being truly simple to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or something, site theme . a tones way for your client to communicate. Nice task.

  • West Ham Says:

    great put up, very informative. I ponder why the opposite specialists of this sector don’t realize this. You must proceed your writing. I am confident, you have a huge readers’ base already!

  • elgoog Says:

    I have been exploring for a bit for any high-quality articles or weblog posts on this sort of area . Exploring in Yahoo I ultimately stumbled upon this web site. Reading this information So i’m satisfied to show that I’ve a very excellent uncanny feeling I discovered just what I needed. I most certainly will make sure to do not fail to remember this web site and give it a glance on a relentless basis.

  • glacial Says:

    How does one copyright an article or story and what is the cost?…

    I am thinking of creating ebook of articles that are not copyrighted.. How , where can I go to get it?….

  • piano Says:

    Heya i’m for the primary time here. I found this board and I to find It truly helpful & it helped me out much. I hope to provide one thing again and aid others such as you aided me.

  • Cell Phone Antenna Boosters Says:

    Excellent blog here! Additionally your site a lot up fast! What web host are you the use of? Can I am getting your affiliate link to your host? I want my site loaded up as quickly as yours lol.

  • Best Used Cars Chicago Says:

    Useful information. Lucky me I found your website unintentionally, and I am surprised why this accident did not took place in advance! I bookmarked it.

  • 34Brojakowski@gmail.com Says:

    Hmm is anyone else experiencing troubles with the images on this blog loading? I’m trying to uncover out if its a dilemma on my finish or if it is the blog. Any responses would be greatly appreciated.

  • annunci Says:

    Nice blog here! Also your site loads up fast! What web host are you using? Can I am getting your affiliate link to your host? I desire my site loaded up as quickly as yours lol.

  • trade Says:

    An impressive share, I simply given this onto a colleague who was doing a bit analysis on this. And he in truth bought me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the deal with! However yeah Thnkx for spending the time to debate this, I really feel strongly about it and love studying extra on this topic. If possible, as you change into experience, would you mind updating your blog with extra details? It’s highly helpful for me. Massive thumb up for this blog publish!

  • software Says:

    It’s really a nice and helpful piece of information. I am happy that you just shared this helpful information with us. Please stay us up to date like this. Thank you for sharing.

  • Domain Says:

    hello!,I love your writing very much! percentage we be in contact more about your article on AOL? I need a specialist on this house to unravel my problem. Maybe that is you! Taking a look forward to look you.

  • Online Classifieds Says:

    Online Classifieds…

    [...]How to Add an Additional Outoing Mail, SMTP Port | breakthrough design[...]…

  • Call India Cheap Says:

    Once more peachy post thanks rafts for sharing, keep me posted I will be interpretation much of your pieces in the tense!

  • Manual Traffic Exchange Says:

    Can I just say what a aid to seek out someone who actually is aware of what theyre talking about on the internet. You positively know find out how to convey a difficulty to light and make it important. Extra individuals have to learn this and perceive this facet of the story. I cant imagine youre no more common because you positively have the gift.

  • Jamey Tupaj Says:

    Thanks for discussing your ideas on this blog. Likewise, a fairy tale regarding the banking institutions intentions any time talking about foreclosed is that the traditional bank will not take my repayments. There is a certain quantity of time in which the bank will take payments every now and then. If you are far too deep within the hole, they are going to commonly desire that you pay the payment 100 %. However, that doesn’t mean that they will not take any sort of payments at all. If you and the traditional bank can be capable to work a thing out, a foreclosure practice may halt. However, if you continue to miss out on payments within the new system, the property foreclosure process can pick up where it was left off.

  • Hotels Says:

    Great share it is surely. My friend has been looking for this content.

Leave a Reply