Thread: Sendmail setup
View Single Post
  #1 (permalink)  
Old 05-03-2008, 08:57
Pandacoder's Avatar
Pandacoder Pandacoder is offline
Junior Member
 
Join Date: Dec 2007
Posts: 16
Default Sendmail setup

Hi,

I have a Linux server with one main domain and some secondary domains.

Email for the main domain is handled by google apps and and the mx records all point to google correctly, and are working fine.

I use php on the server as part of the domain's application, to send out emails to a newsletter. This is fine.

I would like all the server emails such as crontab responses, notifications and errors to be sent to my google apps email address. I have set the correct email address in these modules.

It seems though, that Sendmail automatically picks up on the domain as being local and tries to deliver the emails locally.

I tried Procmail, I set a .procmailrc recipe in my home directory to forward all email to me, to my google apps address but it seems not to work.

Does anyone know of any good Sendmail/Procmail/Linux tutorials that would explain how to create this setup in particular?

I have found lots of tutorials but they assume that I have emails for the main domain handled locally which is where this case differs to most.

Any help appreciated.
__________________
$wisdom = array('knowledge', 'patience', 'experience', 'compassion', 'sympathy', 'humour', 'courage', 'tolerance', 'humility', 'Linux');
Reply With Quote