On Mon, Jan 26, 2009 at 11:14 PM, MacShane, Tracy <
tracy.macsh...@airservicesaustralia.com> wrote:

> > -----Original Message-----
> > From: owner-postfix-us...@postfix.org
> > [mailto:owner-postfix-us...@postfix.org] On Behalf Of MountainX
> > Sent: Tuesday, 27 January 2009 1:42 PM
> > To: postfix-users@postfix.org
> > Subject: RE: I thought I had a send-only Postfix server, but
> > I see someoneconnected to it!
> >
> > MacShane, Tracy wrote:
> > >
> > >
> > >
> > > Personally, I wonder why you're using Postfix at all if you're just
> > > sending and receiving mail via Gmail. Postfix is a
> > full-blown MTA, so
> > > it seems like a lot of overkill for mail you could collect via
> > > IMAP/POP using the mail client of your preference.
>
> >
> > Well, now that Postfix is almost working the way I want, it
> > would require more time to switch to something else. But you
> > have aroused my curiosity.
> > What is a simple solution that will allow my Linux server to
> > send all notifications (such as those generated by system
> > events or otherwise and addressed to root @localhost or any
> > other user account) to me at my gmail account without using Postfix?
>
> There's no reason to take it all so personally.


That's always good advice.


> This list is extremely helpful


yes, as said I wholeheartedly agree! I received some much appreciated help
today.



> if you just do a bit of preliminary research, and don't just go
> off one third-party document. It also wasn't clear why you wanted to
> relay via Gmail servers. There's a doco on SOHO configurations in the
> Postfix READMEs or on postfix.org:
> http://www.postfix.org/SOHO_README.html


I read (much of) that. It is possibly the best document anyone has pointed
me to yet. However, I do not understand a lot of the terminology and the
document doesn't address my exact needs.

I did see something interesting in the document:

/etc/postfix/main.cf <http://www.postfix.org/postconf.5.html>:
    # Optional: send mail as u...@domainname instead of u...@hostname.
    #myorigin <http://www.postfix.org/postconf.5.html#myorigin> =
$mydomain <http://www.postfix.org/postconf.5.html#mydomain>


I want mail sent to r...@localhost to go to me @ example.com (a google apps
domain with gmail account). I want all email from any Linux user account on
this box (or even the nobody @ localhost account) to be sent to me@
example.com using my smtp relay settings (which use smtp.gmail.com with my
me@ example.com gmail account, and which is working fine). I want all those
emails to show up in the gmail sent items folder or me @
example.com(because they are in fact sent through that account). And
if they are
addressed to root @ localhost, I want them to show up (also) in the inbox of
my me@ example.com gmail account.

To accomplish my goal, I do not know whether to use aliases, generic, some
other method, or the method descirbed in the SOHO doc.

My current setup is working, but it doesn't accomplish my goal above. Am I
wrong to expect that there is a straightforward recipe for doing this? I
imagine it would be something like:

1. in main.cf, set: myorigin = $example.com
2. remove all aliases
3. blah blah

If I knew the solution, I'd do it, so obviously I may be way off base in the
(imaginary) steps I just listed. But isn't there a way to just simply do
what I described above, assuming that I have a working Postfix installation
that properly connects to smtp.gmail.com?



>
> And it's often easier to just send via your ISP than directly through
> Google's SMTP servers.


I don't use my ISP's email and I'm not sure how it would be easier if I did
use it. I'm *not* having any problems connecting to google's smtp servers.


>
>
> But a doco here has sending via Mutt using msmtp as the MTA (Postfix
> works fine instead): http://www.andrews-corner.org/mutt.html


After reading the first section, it clearly sounds like Postfix is a MUCH
better choice for someone like me.


>
> Provide logs if the SOHO document doesn't help you.


I have no errors. Postfix is basically working. Hopefully I did a better job
of explaining that I am not looking to solve an error, I am looking for a
recipe to implement a particular addressing scheme (or whatever you call
what I'm describing above).

Thank you.

Reply via email to