Solved

Sendmail relay from CentOS 5.5 VPS to Rackspace Email

Posted on 2010-09-20
1
1,621 Views
Last Modified: 2012-05-10
I'm hoping that someone can provide a relative Linux rookie, some concise specific instructions on how to setup Sendmail relaying via smarthost to Rackspace's email servers.

I've found lots of stuff on the internet, relating to this but it seems like all the instructions I've found are slightly different, and I'm not sure which to try and follow.  

I have a CentOS 5.5 Virtual Server in Rackspace's Cloud, that is being used as a dedicated WordPress host.     I need WordPress / Apache to be able to send outgoing email via Smarthost relay to Rackspace's mail servers using SSL.

CentOS and Sendmail are already installed.  Webmin is also available if it helps in any way.  

The server can already resolve the Rackspace mail servers via DNS.
      
Rackspace mail server is secure.emailsrvr.com on port 465 and requires authentication.

Thanks for any assistance you can provide.
0
Comment
Question by:jb1013
1 Comment
 
LVL 4

Accepted Solution

by:
d-it-lx earned 500 total points
ID: 33734828
Something like this?:

- In /etc/mail/sendmail.mc add:
     FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
     define(`SMART_HOST',`[secure.emailsrvr.com]')dnl

- Create file /etc/mail/authinfo:
     AuthInfo:secure.emailsrvr.com "U:user@domain.com" "P:pAsSWoRd" "M:PLAIN"

- Execute:
     chmod 664 /etc/mail/authinfo
     makemap hash /etc/mail/authinfo < /etc/mail/authinfo
     make
     service sendmail restart
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now