Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sendmail relay from CentOS 5.5 VPS to Rackspace Email

Posted on 2010-09-20
1
Medium Priority
?
1,631 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

705 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