I'm in the process of setting up configurable autoresponders for
our customers. We have a qmail (1.01) environment with about 5000 virtual
domains on a POP host.
Customers are grouped by customer handles (chd) POP-Boxes are named
by <chd>nnn where "nnn" is a incrementing number (this is historical
from pre-qmail, I couldn't change that when migrating to qmail for
IMHO obvious reasons).

Directory-Layout:
 ..../<chd>
 ..../<chd>/DOMAINS/
 ..../<chd>/DOMAINS/example.com/
 ..../<chd>/DOMAINS/example.com/.qmail-user1
           -> ..../<chd>/<chd>001/
 ..../<chd>/DOMAINS/example.com/.qmail-user2
           -> ..../<chd>/<chd>001/
 ..../<chd>/<chd>001/Maildir/
 ..../<chd>/<chd>002/Maildir/

I'm planning to add an extra directory tree
 ..../<chd>/AUTO/
 ..../<chd>[EMAIL PROTECTED]/auto.txt
 ..../<chd>[EMAIL PROTECTED]/auto.db
 ..../<chd>[EMAIL PROTECTED]/auto.txt
 ..../<chd>[EMAIL PROTECTED]/auto.db

And users can then en/disable autoresonders and alter the auto.txt via
a web interface.

So far so good :-)

My problem is, if there exists e.g. a
    .qmail-user1-default
and the user wants an autoresponder I have problems mapping it to
   ..../<chd>[EMAIL PROTECTED]/auto.txt
from the ENV-variables I get from qmail.

Any ideas or would I have to rebuild the qmail algorithm and test
for the existance of the ..../<chd>/AUTO/*@example.com directories?

Thanks,

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |

Reply via email to