[imp] IMP with virtual hosting. Username rewrinting rules.

Atif Ghaffar aghaffar@developer.ch
Fri, 16 Mar 2001 20:38:45 +0100


Hi Dimitri.

Which version are you using? 2.2.x or 2.3?
username rewriting is easy and can be done on the client-side (javascript) or
serverside(php).
I prefer the client side version.
Let me know the version and I send you the code.

cheers




"Dmitri B. Gofmekler" wrote:

> Hello all IMP users and developers,
>
> A few days ago I asked already the same question and even got few answe=
rs
> but...
> I undershood only that someone somewhere already did exactly what I wan=
t but
> I can't find any info abot how they did this. I would like to let my us=
ers
> 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 use=
r can
> select, for example bdom.com and user foo and IMP should automaticly re=
write
> 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
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org

--
Atif Ghaffar
Internet Development Manager
4unet AG/SA/Ltd.
-------------------------.
        +41 21 351 53 60 ¦ voice
        +41 78 787 51 45 ¦ mobile
        +41 86 0796598972¦ fax
    http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
  atif.ghaffar@4unet.net ¦ email