Hi all,

I was wondering about doing aliasing through an external database. Anyone
got any ideas or pointers where to look for information on this? I do see
the example on the qmail.org page but that won't exactly work for my
purposes.

For a specific user (jimmy) in his home dir I have a .qmail-default which
grabs everything that doesn't match another .qmail file and dumps in in
Maildir (obviously).

In that .qmail-default I would like to do a db lookup for an alias and if I
find something return the target Maildir and have mail end up there, if no
match...dump it in the main Maildir

jimmy has the following in his home dir

Maildir (main Maildir)
sub_a (sub Maildir 1)
sub_b (sub Maildir 2)
...etc..etc

when mail arrives that should be handled by jimmy, an application looks up
an alias in a db and if a match is found for say jimmyjoe then it returns
"sub_a" and the mail is handed off to that Maildir instead of the main
Maildir, if there is no match found in the db lookup then the mail ends up
in the main Maildir

Am I making any sense?..;)

Any help would be greatly appreciated


-Dave









Reply via email to