IMP with virtual hosting. Username rewrinting rules.

Dmitri B. Gofmekler gosha@arvid.ee
Fri, 16 Mar 2001 16:46:31 +0200


Hello all IMP users and developers,

A few days ago I asked already the same question and even got few answers
but...
I undershood only that someone somewhere already did exactly what I want but
I can't find any info abot how they did this. I would like to let my users
to read their emails from the web using IMP, but the problem is I have 8
domains hosted and they all hosted on one IP address using sendmail's
virtusertable username rewriting. My virtusertable.txt seems like this:

@adom.com        a-%1
@bdom.com        b-%1

this means that all incoing mails, sent to foo@adom.com delivered to a-foo
and sent to foo@bdom.com delivered to b-foo.

So I want to configure IMP to show a combo-box with domain list, so user can
select, for example bdom.com and user foo and IMP should automaticly rewrite
username to b-foo before login.

Is it possible?


Thanks in advance for any answers,
==============================
Dmitri B. Gofmekler <gosha@arvid.ee>
A-Arvid Computers, GSM: +3725027705, Fax: +3726563000