Re: [gentoo-user] configuring postfix to masquerade the address

2003-02-20 Thread romildo
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




Re: [gentoo-user] configuring postfix to masquerade the address

2003-02-20 Thread Stefan Vunckx
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

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?
>
> Regards,
>
> Romildo


--
[EMAIL PROTECTED] mailing list




Re: [gentoo-user] configuring postfix to masquerade the address

2003-02-20 Thread David Mallwitz
From the Postfix config file in /etc/postfix/main.cf:

# 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

So, you need to set the vars mydomain and myorigin appropriately.

Dave

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?

Regards,

Romildo



--
[EMAIL PROTECTED] mailing list




[gentoo-user] configuring postfix to masquerade the address

2003-02-20 Thread Jose Romildo Malaquias
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?

Regards,

Romildo
-- 
Prof. José Romildo Malaquias[EMAIL PROTECTED]
Departamento de Computação   [EMAIL PROTECTED]
Univ. Federal de Ouro Preto  http://uber.com.br/romildo

--
[EMAIL PROTECTED] mailing list