[imp] Suffixing (sub)domain name to userid from horde/imp

jlewis at lewis.org jlewis at lewis.org
Sun Mar 21 10:16:56 PST 2004


http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&c2coff=1&selm=aj4p7r%242fhu%241%40FreeBSD.csie.NCTU.edu.tw


On Sat, 20 Mar 2004, prince wrote:

> Hi,
>
> Does any one know how to accomplish this?
>
> thanks.
>
> On Sat, 20 Mar 2004 10:32:09 -0800, prince wrote
> > Dear Group,
> >
> > I have a single horde/imp configuration file shared by many virual
> > domains. Currently my imp/config/servers.php has the maildomain set
> > to a particular value (say first.example.com). Now, I want to suffix
> > the userid with the domain name, where they are accessing the mail.
> >
> > Suppose, if the user user1 access mail using
> > http://1st.example.com/mail, I want the userid to be passed as
> > user1 at 1st.example.com . If (s)he access the mail via,
> >  http://2nd.example.com, then the userid should be user1 at 2nd.example.com
> > For user2 it will be user2 at 1st.example.com, user2 at 2nd.example.com etc
> >
> > I have these users in a common mysql database. Currently the user
> > has to enter manually user1 at 1st.example.com. I want the user to just
> > enter his user id and based on the domain I want horde to prefix the
> > domain name.
> >
> > How can I do this? I went thru google, but did not find any complete
> > document. Does anyone have a working example using hack or so?
> >
> > Thanks,
> > Prince.
> > --
> > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>
>
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>

----------------------------------------------------------------------
 Jon Lewis *jlewis at lewis.org*|  I route
 Senior Network Engineer     |  therefore you are
 Atlantic Net                |
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________


More information about the imp mailing list