LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix for Gmail relay (http://www.linuxquestions.org/questions/linux-server-73/postfix-for-gmail-relay-502401/)

Sinedie 11-17-2006 12:47 AM

Postfix for Gmail relay
 
Hello,
I have a machine that is able to send and receive mails to machines (xyz) in the domain (eg xyz.my.domain) but not to the mail server of the domain. I tried a lot to get it fixed but connection doesn't seem to happen. Postfix is unable to establish a connection (connection refused) and the mail admin says problem is at my end (as no entry for connection was made on the mail server) and I insist that it is not (as mails can be received by any of the comps within the domains). (This happened after hours spent on trying to pick the bug.)

Finally I now decided relay all the mails through gmail..., I mean no matter which user sends a mail, it will be relayed, even if with the same user-id, to folks on internet (hoping that they'd reply to 'Reply-to' that can be trivially configured). But I am unable to find instructions to do it, if possible. I scanned older posts from this forum, but they were not of much help. Could anyone give me a good solution to use SMTP server of the gmail with all the outgoing mails using postfix please?

TIA,
-S

Sinedie 11-17-2006 12:51 AM

I have followed the instructions for setting up the Postfix server from:

http://mjfrazer.org/~mjfrazer/postfix-rh73-laptop.html

The following is the transport file for postfix, if required.

hostname.my.domain local:
my.domain smtp:[my.domain]:25
.my.domain smtp-local:


All times are GMT -5. The time now is 04:42 PM.