[rt-devel] Deriving Queue from Mail Address

Philip Warner pjw at rhyme.com.au
Tue Nov 12 22:00:33 EST 2002


At 07:21 PM 12/11/2002 -0500, Jesse Vincent wrote:
>/^bug-(.*)@rt.cpan.org$/            cpan-bug+$1 at pallas.eruditorum.org

This works fine if I use regexp virtuals, but we also store virtuals in a 
Postgres database, and currently that only supports hash-style virtuals. 
What I have done is:

Virtual:

     @bugs.here.com                      generic-bugs

Alias:

     generic-bugs:                       "|...etc"

Then just parse the 'To' field, which still says 'whatever at bugs.here.com'. 
I am happy to send a patch...


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                  |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/




More information about the Rt-devel mailing list