(I'm sorry if this is a duplicate post. If the earlier one got through I haven't seen it.)
Here's what I want to do: When (incoming) mail is addressed to user@hostname.domain I want to change that to: user@domain before I deliver it. in main.cf: recipient_canonical_maps=regexp:/etc/postfix/pfrecipient_canonical [root@davis postfix]# more pfrecipient_canonical /^gl@.*\.arlut\.utexas\.edu$/ g...@arlut.utexas.edu /^a@.*\.arlut\.utexas\.edu$/ a...@arlut.utexas.edu /^b@.*\.arlut\.utexas\.edu$/ b...@arlut.utexas.edu /^c@.*\.arlut\.utexas\.edu$/ c...@arlut.utexas.edu This does what I want it to: it strips out the host part of the address. (Yes, those are trivial test users, a,b,c,gl.) Does this have consequences/side effects that I might not expect? In particular, I have transport_maps = hash:/etc/postfix/pftransport also in main.cf . Transport_maps will still be honored, won't it? I'd test it, but I don't control the other machines in the transport map, and I have a feeling management will frown on me sending test messages to other than myself. Thx, j. -- Jay Scott 512-835-3553 g...@arlut.utexas.edu Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div. S224 University of Texas at Austin