Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th May 2012, 10:39
amsharma amsharma is offline
Junior Member
 
Join Date: Oct 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to relay all local mail to External smtp

Hello,

I have used an old How to "Installing A LAMP System With Fedora Core 6". As its stable I haven't touched it. I would like Postfix to send out ALL emails including Local ones to the main smtp server of the domain. I have used a RelayHost but the local email gets delivered locally. My server name is compmail.mydomain.com. My web and email server is mydomain.com. I checked a lot on the Net but could not find any concrete solutions. Will changing my machine name to compmail.localdomain.com etc would help.

As users are geographically spread out I would like them to see all emails on the Webmail. This doesn't happen. Can anybody suggest a solution.

Thanks
Amal
Reply With Quote
Sponsored Links
  #2  
Old 9th May 2012, 19:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Make sure you use compmail.mydomain.com instead of mydomain.com in /etc/postfix/main.cf.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
external smtp, postfix, relay local mail

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 10:56
sneaking suspicion my postfix config has gone awry mjbarfoot Installation/Configuration 7 24th August 2010 12:23
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 11:56
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 04:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.