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

Atif Ghaffar aghaffar@developer.ch
Sat, 17 Mar 2001 16:42:22 +0100


Hi dimitri, Alex.
Have a look at
http://atifghaffar.com/tmp/imp-username-rewrite.php

Is this what you want to have?
PS:: This is a client side solution and will not work with
lynx/non-javascript-enabled-browsers.

If your target is lynx  users then this logic should be implemented on the
server side.

regards



"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