Solved

Sendmail relay from CentOS 5.5 VPS to Rackspace Email

Posted on 2010-09-20
1
1,624 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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