Sean Holdsworth a écrit :
On 21 Nov 2009, at 10:58, mouss wrote:

Sean Holdsworth a écrit :
[snip]

If I allow that address rewite then mail for p...@domain or p...@domain will
get
sent on to the MTA with an envelope recipient address of catch...@domain
rather than their original recipient address.

I've tried various work arounds without success. The one that seems most
natural, but which DOES NOT WORK, is the following:

virtual_aliases:
p...@domain @domain p...@domain
p...@domain @domain p...@domain

This results in mail for either address only arriving in their own mailbox.

Is there another approach to this that I'm missing?

you want smtp_generic_maps.

Sorry but having reread the address rewrite documentation several times, I 
don't understand how smtp_generic maps would help in this case. To restate the 
problem, I'm trying to figure out a way of doing the following deliveries:



use virtual aliases like this:

j...@example.com                f...@example.net, bar+...@example.com


where "bar+joe" keeps the "joe" information.

at the time of delivery, rewrite
bar+...@example.com     j...@example.com


if this doesn't do what you want, please explain your problem without citing any postfix methods/solutions/parameters. in short, explain your problem in "the problem domain", not in the solution domain.

Reply via email to