Discussion:
How to set envelope sender
(too old to reply)
c***@odi.com.br
2005-01-11 15:50:05 UTC
Permalink
Hello,

Some mail servers are not acepting mail from my mail server because my
envelope sender is localhost.localdomain, is there a way to set this in
postfix?


Angelo
Ralf Hildebrandt
2005-01-11 17:47:50 UTC
Permalink
Post by c***@odi.com.br
Hello,
Some mail servers are not acepting mail from my mail server because my
envelope sender is localhost.localdomain, is there a way to set this in
postfix?
Yes.
--
Ralf Hildebrandt (***@charite.de) ***@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
MMDF: A jumped up mailroom boy with a chip on his shoulder. Loves the
bureaucracy and takes great pride in stamping "illegal address" in red
ink on any mail it passes. Unpacks all the mail and repacks it in his
own special envelopes before delivery to end users.
Magnus Bäck
2005-01-11 17:56:30 UTC
Permalink
On Tuesday, January 11, 2005 at 17:46 CET,
Some mail servers are not acepting mail from my mail server because my=20
envelope sender is localhost.localdomain, is there a way to set this in=
=20
postfix?
a) Set a correct sender address in your MUA.
b) Set myorigin to a hostname that is acceptable for other servers.
c) Use canonical_maps.

--=20
Magnus B=E4ck
***@dsek.lth.se
c***@odi.com.br
2005-01-11 18:15:07 UTC
Permalink
I=B4m not quite sure of what i need, i have an unusual setup of postfix=
+=20
mysql + maildrop + courier-imap + cyrus sasl, the major problem is that s=
ome=20
users have full email as login and some dont.
There is nothing wrong with postfix but cyrus sasl underts the @ part as=20
realm and when users with out realm try to send mail it must first auth =
to=20
postfix but cyrus append @localhost.localdomain to the users name.

To bypass that i have set smtpd.conf:
SELECT crypt FROM users WHERE id =3D=20
REPLACE('%u@%r','@localhost.localdomain','')

So users with realm @localhost.localdomain get the realm "" and users wit=
h=20
full email as logins stay as it is and that work for now. But the other=20
problem is some mail it geting bloked becouse my envelope sender says=20
localhost.localdomain.

Do you know where i can get some info about it? Googling results show onl=
y=20
how to block spam based on envelope sender.

----- Original Message -----=20
From: "Ralf Hildebrandt" <***@charite.de>
To: <postfix-***@postfix.org>
Sent: Tuesday, January 11, 2005 2:47 PM
Subject: Re: How to set envelope sender
Post by c***@odi.com.br
Hello,
Some mail servers are not acepting mail from my mail server because my
envelope sender is localhost.localdomain, is there a way to set this i=
n
Post by c***@odi.com.br
postfix?
Yes.
--=20
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450=20
570-155
MMDF: A jumped up mailroom boy with a chip on his shoulder. Loves the
bureaucracy and takes great pride in stamping "illegal address" in red
ink on any mail it passes. Unpacks all the mail and repacks it in his
own special envelopes before delivery to end users.
=20
Ralf Hildebrandt
2005-01-11 18:41:59 UTC
Permalink
I?m not quite sure of what i need, i have an unusual setup of postfix +
mysql + maildrop + courier-imap + cyrus sasl, the major problem is that
some users have full email as login and some dont.
Look at $myorigin. Also check if the users specify the correct envelope on
their own.
--
Ralf Hildebrandt (***@charite.de) ***@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
When the government outlaws cryptography, bayl pevzvanyf jvyy unir
cevinpl.
Continue reading on narkive:
Loading...