HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   How to relay all local mail to External smtp (http://www.howtoforge.com/forums/showthread.php?t=57213)

amsharma 8th May 2012 11:39

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

falko 9th May 2012 20:21

Make sure you use compmail.mydomain.com instead of mydomain.com in /etc/postfix/main.cf.


All times are GMT +2. The time now is 23:18.

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