|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: masquerade problem
From: Jacolek (jacolek
go2.pl)Date: Tue May 02 2000 - 18:55:10 CDT
- Next message: Matthias Andree: "Re: Postfix vs other MTA's"
- Previous message: Brad Knowles: "Re: lots of read timeouts?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
here is a little explanation of what i have to deal with:
lets assume i run test.com domain
test.com - mx points to mail.test.com
mail.test.com is a CNAME to postfix.test.com
virtual-1.test.com - mx points to mail.test.com
virtual-2.test.com - mx points to mail.test.com
but i also have:
subdomain.test.com - mx points to sendmail.subdomain.test.com
postfix.test.com configuration (not all ofcourse):
mydomain = test.com
myhostname = postfix.test.com
masquerade_domains = $mydoamin
The story begins:
1) when i try to send mail from user
subdomain.test.com to user
test.com
postfix rewrites From: and To: entries ?! so user
test.com receives mail
from user
test.com ?!
funny thing happen when i've sent mail to non existing user on test.com,
the sender (user) didn't get any error message, because From:
user
subdomain.test.com has been rewritten to user
test.com, who btw.
received error message :)
2) when i try to send mail to alias
test.com (alias points to user)
postfix rewrites that to user
test.com, so that user
test.com receives
mail addressed to user
test.com not to alias
test.com ?!
Are those situations desired or not ?
Please help my solve this problem, i want to rewrite all outgoing
messages, but not incoming ones. I want to rewrite
virtual-1,virtual-2,postfix to test.com. I want my postfix do exactly
the same staff as my sendmail did (with masqerade_envelope).
I just don't see any reason in rewriting recipient address, i would want
to know to which address message has been sent (was it an alias
test.com
or user
test.com or user
postfix.test.com).
Thanks in advance,
Jacolek.
- Next message: Matthias Andree: "Re: Postfix vs other MTA's"
- Previous message: Brad Knowles: "Re: lots of read timeouts?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]