|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Nick Simicich (njs
scifi.squawk.com)Date: Fri May 03 2002 - 02:09:32 CDT
If I have a domain in the virtual map,
virtual_maps = hash:/etc/postfix/virtual
and it does not have a
example.com anything
line, but instead only has
user
example.com user
example.com, otheruser
example.com
user2
example.com user2
local.domain
(It is not a mistake that the two domains are the same in the first line.)
And then I have an entry like
example.com :mail.example.com
In transports, where mail is a host that will process most of the mail for
mail.example.com, will my machine accept mail from untrusted hosts for
user
example.com and relay it using the transports entry? I have
$virtual_maps in relay_domains. The man page is not clear on whether or
not I need to have the "anything" line for it to relay for untrusted origins.
The point is that I need to "cherrypick" some mailing addresses out of this
domain and process them (for mailing list processing), while relaying most
on. If I have the
example.com anything
line, then it rejects user
example.com as "status=bounced (unknown user:
"user
example.com")" even with the entry in transports. If I don't have
it, it does the right thing with locally originated mail - it looks it up
in transports (which is what I want since I will be the terminal MX) and
sends it out. The problem is that I am having trouble setting up a test
case since I do not have a good domain that I can cripple mail delivery for.
There is a third party that is going to make my servers the destination for
their DNS, and I don't have any control on when this happens, so I have to
be ready.
Without the "anything" in the virtual map, do I need to add the domain to
relay_domains to make this work?
-- War is an ugly thing, but it is not the ugliest of things. The decayed and degraded state of moral and patriotic feeling which thinks that nothing is worth war is much worse. A man who has nothing for which he is willing to fight, nothing he cares about more than his own personal safety, is a miserable creature who has no chance of being free, unless made so by the exertions of better men than himself. -- John Stuart Mill Nick Simicich - njsscifi.squawk.com
- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]