JP Vossen on 1 Mar 2010 12:32:40 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Postfix address re-write rules?


Fair warning: I haven't Googled this yet.  I have a hunch I'll find a 
bunch of stuff that is almost, but not quite, completely wrong for what 
I'd like to do.

Problem: there is an external email address to which I can send email 
but my wife can't.  This is due to an incredibly FUBAR remote mail 
server, over which I have no control and which has not improved in 
years, nor will it.  Ever.  :-(  Note we're both using my server, on my 
domain, mine works because of a special exception on the remote side 
that we can't get duplicated.  (Don't ask.)

Work-around: when my wife replies to that address, she can manually 
change it to a different one that works.  Except sometimes she forgets, 
and the broken server never send a failure message either so the reply 
just vaporises.

Proposed Solution: Ideally, if my wife sends an email to the bad address 
(due to hitting reply and forgetting to change it), Postfix will 
re-write with a good address, but if I send it will do nothing.  Worst 
case, I just re-write everything going to the bad address with the good one.

IOW, ideally:
	me --> bad.com = just works
	wife --> bad.com --} postfix changes to good.com = works


Anyone have any clues?  I'm using stock Lenny Postfix 2.5.5-1.1 if that 
matters.

Thanks,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug