Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-16-2006, 11:47 PM   #1
Registered: Nov 2006
Posts: 71

Rep: Reputation: 15
Unhappy Postfix for Gmail relay

I have a machine that is able to send and receive mails to machines (xyz) in the domain (eg 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?

Old 11-16-2006, 11:51 PM   #2
Registered: Nov 2006
Posts: 71

Original Poster
Rep: Reputation: 15
I have followed the instructions for setting up the Postfix server from:

The following is the transport file for postfix, if required. local:
my.domain smtp:[my.domain]:25
.my.domain smtp-local:

Last edited by Sinedie; 11-16-2006 at 11:53 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix relay thru gmail NeptunEz Linux - Networking 17 12-09-2006 09:10 AM
Postfix can't talk to Gmail cs-cam Linux - Software 2 07-13-2006 08:18 PM
problem setting up home linux gmail relay emanresu Linux - Software 0 07-12-2006 11:58 AM
[postfix] allow relay from 1 ip narmida Linux - Software 3 12-01-2005 12:20 PM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration