On Nov 24, 2008, at 8:24 PM, Wietse Venema wrote:
George Vilches:
Is there something else in Postfix I can do that could force the
address resolution to be fully resolved before relaying?
Yes. Do not use wild-card rewriting rules (@xxx -> @yyy) and list
all valid recipients in appropriate tables.
What do I do if I need wildcard rewriting rules? I have several users
that have domains that use @domain.com -> [EMAIL PROTECTED]
Yes, I know about the issues related to spam and the other resolution-
based issues. However, if I host anotherdomain.com and they enter a
forward address that doesn't exist, the message gets passed on
anyway. I really, really want to prevent this from happening.
- List recipients in virtual_alias_maps for [EMAIL PROTECTED] -> [EMAIL
PROTECTED],
with domains listed in virtual_alias_domains.
And when [EMAIL PROTECTED] doesn't exist, but I am still a valid domain for
yyy? Right now, the messages relay. I need them to bounce, like they
would do if this was a local delivery instead of a relay. This is
separate from the previous problem.
- List recipients in relay_recipient_maps for addresses that don't
rewrite, with domains listed in relay_domains.
This works just fine in the other cases I have used this, and the
online docs are very well written in this regard.
Postfix is really simple to configure.
I wholeheartedly agree, I've been using it for over 6 years now quite
happily in a variety of complicated situations. There's always a way
with Postfix. :)
Thanks,
George