On Thu, Feb 20, 2003 at 11:50:28PM +0100, Stefan Vunckx wrote:
> First edit /etc/postfix/main.cf and add at the botttom:
> "sender_canonical_maps = hash:/etc/postfix/sender_canonical"
> 
> then make the file /etc/postfix/sender_canonical, containing:
> "root [EMAIL PROTECTED]
> ...  [EMAIL PROTECTED]"
> 
> ( i do this user-wide so that different users get different mailadresses)
> 
> then do:
> # postmap /etc/postfix/sender_canonical
> 
> and then do:
> # postfix check
> # postfix reload
> 
> That did the trick for me.
> Bonkie

That also works for me. Thanks. Now I am already sending this
message on the gentoo system, with postfix masquerading
[EMAIL PROTECTED] as [EMAIL PROTECTED],
as can be seen.

Romildo

> On Thursday 20 February 2003 23:34, Jose Romildo Malaquias wrote:
> > Hello.
> >
> > My Linux box is connected to the internet by a
> > cable modem. I receive email through my ISP,
> > which provides the email address
> >
> >     [EMAIL PROTECTED]
> >
> > to me. My hostname is gentoo.darling.org, but
> > it is not a valid name (not seen outside of
> > my local network).
> >
> > I want the messages I sent from my box using
> > the email address
> >
> >     [EMAIL PROTECTED]
> >
> > seen as if it came from
> >
> >     [EMAIL PROTECTED]
> >
> > How should postfix be configured to achieve
> > that?


--
[EMAIL PROTECTED] mailing list

Reply via email to