|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Rewriting (stripping) address extensions
From: David Landgren (david
landgren.net)
Date: Fri Jul 02 2004 - 10:32:42 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
List,
I can't figure this one out. I'm using address extension on my Postfix
box to allow messages to be sent to abc+123
newsrh.com.
recipient_delimiter = +
recipient_relay_maps = hash:/etc/postfix/recip/newsrh
abc
newsrh.com OK
This works correctly: it will accept and forward abc+12345
newsrh.com
onto my internal server and rejects anything else.
The problem with the internal server is that it is Lotus Notes. I can't
for the life of me figure out how to teach it to accept abc+foo as being
valid. It doesn't seem to know about address extensions. So I would like
to rewrite with Postfix to forward it as abc
newsrh.com to the internal
server.
I thought a virtual map pcre table would do the rewriting:
/abc+\d+
newsrh.com/ abc
newsrh.com
But as usual, my ignorance is showing through, because that doesn't
change anything.
Can somebody hit me with a clue-by-four?
Thanks,
David
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]