On 05/06/2011 01:52 PM, Victor Duchovni wrote:
The routing of mail for a particular recipient address or all recipients
in a given domain is performed by resolving the recipient to a
(transport, nexthop, address) triple.
http://www.postfix.org/ADDRESS_REWRITING_README.html#resolve
http://www.postfix.org/ADDRESS_REWRITING_README.html#transport
Use the transport table to map the addresses in question to a transport
implemented via the discard(8) delivery agent.
master.cf:
discard unix - - n - - discard
transport:
example.com discard:into the entropy pool
-- Viktor.
Viktor..
I already use transport but did not realize the syntax was so simple in
this case..
I tested it from a host and it gives me the desired results..
Discard
May 6 14:13:17 mailhost postfix/discard[28953]:
B6BC756778:to<[email protected]>, relay=none,
delay=0.05,delays=0.01/0.04/0/0, dsn=2.0.0, status=sent (into the
entropy pool)
Success
May 6 14:15:03 mailhost postfix/qmgr[28883]: 7E3D45677A:
from=<[email protected]>, size=1568, nrcpt=2 (queue active)
Thank you very much...
Charles