On Sat, 25 Dec 2004 22:10, [EMAIL PROTECTED] wrote:
> Quoting Christopher Sawtell <[EMAIL PROTECTED]>:
> > On Sat, 25 Dec 2004 20:28, [EMAIL PROTECTED] wrote:
> > > Have got procmail, fetchmail, postfix all working well with mutt
> > > sending & receiving mail, but am stuck on one thing. With sendmail it
> > > has a SMARTHOST feature where the domain on all outgoing mail was
> > > changed to my email address domain (in this case "planetnz.com").
> > >
> > > How does postfix do this? Have spent the last 2 hours reading man
> > > pages, googling, fiddling with the main.cf file in /etc/postfix with no
> > > luck!
> > >
> > > Any ideas?
> >
> > /etc/postfix/main.cf on my machine says:-
> >
> > # SENDING MAIL
> > #
> > # The myorigin parameter specifies the domain that locally-posted
> > # mail appears to come from. The default is to append $myhostname,
> > # which is fine for small sites.  If you run a domain with multiple
> > # machines, you should (1) change this to $mydomain and (2) set up
> > # a domain-wide alias database that aliases each user to
> > # [EMAIL PROTECTED]
> > #
> > #myorigin = $myhostname
> > #myorigin = $mydomain
> >
> > ymmv
> >
> > --
> > Sincerely etc.,
> > Christopher Sawtell
>
> Thanks Chris - yeah I've looked at that - its close to what I want. I think
> that means that email local to your domain gets changed (i.e another user
> in your domain). What I'm doing is relaying to paradise.net, but changing
> the domain from localhost.localdomain to planetnz.com.
>
> Will keep looking!

Set up
relayhost = smtp.paradise.net.nz
and
myorigin = planetnz.com

-- 
Sincerely etc.,
Christopher Sawtell

Reply via email to