SMTP Port 587
From DreamHost
You may have noticed that your Internet Service Provider (ISP) does not allow you to use mail.yourdomain.com as the outgoing SMTP server. When this happens it basically means your ISP wants you to [use their SMTP server and only their SMTP server]. DreamHost has a work around for you if you find yourself in this situation. Since your ISP is actually blocking port 25, the default port for SMTP traffic, we have set up a secondary port that you can use, port 587. You can configure your mail client to use port 587 instead of port 25. This is the tutorial on how to change the port on some of the most commonly used E-mail clients.
Contents |
OS: Windows Client: Outlook
Outlook has many different versions, but all of the changes are similar to all the clients so we will just use one example here: Outlook Express.
To change your port to 587 first open up Outlook. You will then choose the Tools menu and the option Accounts:
Next you will go to the Mail tab, select your email account, then click Properties. This will bring up the properties window. In this new window you will go the Advanced tab to find the Outgoing mail(SMTP) port options. Just change it to 587 and away your mail goes.
OS: Windows Client: Thunderbird
Thunderbird actually uses similar menu options as Outlook. To change your SMTP port to 587 please follow these directions.
First you will want to open up thunderbird, select the tools menu and then the option Account Settings:
From the Account Settings window you will select Outgoing Server (SMTP). Highlight your mail account and click Edit:
From the edit screen you can easily switch port 25 to be port 587:
OS: Mac OS X Client: Thunderbird
Thunderbird for Macs set up is similar to the windows version. Here are some Mac screenshots for you and instructions.
First open up thunderbird and go to the Tools menu and then the Account Settings option:
On the Account Settings page you will then pick the Outgoing Server (SMTP) option. Directly from this screen you can change the port number just by changing 25 to port 587.
OS: Mac OS X Client: Mail.app
Mail.app is also a popular client. In order to switch the port to 587 you will first open up Mail.app, then select Mail, then Preferences from the top menu:
This opens up the preferences for the many different settings for Mail.app. You will want to select Accounts at this point and make sure that your DreamHost account is selected. Make sure you are on Account Information, and you will notice the Outgoing Mail Server (SMTP). From here you will want to click the Server Settings button:
This will bring up your SMTP options. From here you can easily change Server Port from 25 to port 587:
With the latest mail.app bundled with Leopard the SMTP configuration is slightly different. Open Mail and choose Preferences from the Mail menu. Click Accounts in the Preferences window. Select your Dreamhost mail account and click the Account Information pane. From the "Outgoing Mail Server (SMTP)" pop-up menu, select Edit Server List. Select the Advanced tab and set the outgoing port to 587. When you close the Preferences window you should be prompted to save your changes. Repeat for all Dreamhost mail accounts.
Other E-mail Clients
As you can see setting port 587 is pretty similar on all operating systems and all the different clients. If there is a client you are having trouble locating the SMTP port, just let us know to add it to this article, or if you figure it out, add it yourself, ah the beauty of wikis!!!!!!!!!
Sendmail on Fedora/RedHat
First, locate your configuration files in /etc/mail. I did this on Fedora 8 Create an authinfo file. /etc/mail/client-info and add a line like this, putting your dreamhost email address in place of <your dreamhost email id> and your domain in place of <yourdomain>. Change YoUrPaSsWoRd to whatever your password is. This must be on ONE line. AuthInfo:mail. "U:<your dreamhost email id>" "I:<your dreamhost email>" "P:YoUrPaSsWoRd" Save the file and chmod 600 /etc/mail/client-info makemap hash /etc/mail/client-info < /etc/mail/client-info Edit the sendmail.mc file. Change any of the following macros you find in sendmail.mc. Add any that are not there already. define(`SMART_HOST',`mail.<yourdomin>')dnl define(`RELAY_MAILER_ARGS', `IPC $h 587')dnl FEATURE(`authinfo', `hash /etc/mail/client-info.db')dnl Rebuild your config by typing "make" Restart Sendmail ( killall -HUP sendmail ) send a test email ls /etc|mailx -s"test message" <your email address> Check /var/log/maillog for a line like this: Aug 23 18:27:02 host sendmail[5215]: m7NMR0CI005213: to=<email address>, ctladdr=<root@nowhere.com> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=122926, relay=somerelay.com. [ip address], dsn=2.0.0, stat=Sent (OK 1219537753 s30si5345521qbs.8) The "stat=Sent" indicates success. if you see something like stat=Service unavailable add some verbosity to logging to figure out your error (define(`confLOG_LEVEL', `20')dnl) in sendmail.mc check /var/log/maillog for errors.











