Solved

Sendmail relay from CentOS 5.5 VPS to Rackspace Email

Posted on 2010-09-20
1
1,623 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apache timeout remote connection if not port 80 10 82
Apache / XAMPP  authorisation 10 55
App holding yum lock unable to update my rpm package 1 54
AWS EC2 & RDS Instance 5 35
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…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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