You are not logged in.

#1 2012-05-11 18:41:40

ShionjiYuuko
Member
Registered: 2011-07-31
Posts: 67

Postfix Gmail Relay With True Multiple Account

Hi smile

I've been using Postfix & fetchmail for several months. I only used the most basic setup with single-account relay on Gmail as my primary address. Gmail the took care of other addresses I was using. But I found the setup not enough since several mailing list system detected my primary address as the sender and rejected the mail (I don't subscribe to the list using my primary address).

What I need is Gmail relay with true login: each address I'm using are sent from Gmail as the real Gmail user, not just an alias of the primary address' user.

I've found a guide here: http://souptonuts.sourceforge.net/postfix_sbr.html

I don't have public IP address, so I tried several workarounds here:

1. Assign another host name for my box, ex: mylaptop.localdomain and mail.mylaptop.localdomain in /etc/hosts., set myhostname for the second instance as mail.mylaptop.localdomain This didn't work since Postfix couldn't find the address for mail.mylaptop.localdomain (apparently it never reads /etc/hosts).
2. Add an address for loopback interface, lo:0 inet 127.0.0.2,  set smtp_bind_address to 127.0.0.1 for the main instance and 127.0.0.2 for the second instance. Doesn't work with error:

status=deferred (mail for 127.0.0.2 loops back to myself)

3. Combine both hostname annd additional lo address, couldn't find address for hostname.

Since the difference with above tutorial is only on the IP address, I guess I need a different way to set up the loopback.  Maybe there are several things I've misconfigured.

Thanks...


始まりの荒野を独り もう歩き出してるらしい、僕は灰になるまで僕で有り続けたい
http://about.me/nnhnkn | http://identi.ca/nnhzkn

Offline

#2 2012-08-15 22:50:53

ShionjiYuuko
Member
Registered: 2011-07-31
Posts: 67

Re: Postfix Gmail Relay With True Multiple Account

Bump


始まりの荒野を独り もう歩き出してるらしい、僕は灰になるまで僕で有り続けたい
http://about.me/nnhnkn | http://identi.ca/nnhzkn

Offline

Board footer

Powered by FluxBB