[imp] IMP 3.1 / user@domain.ext on virtual domains

Tobias Eigen tobias at kabissa.org
Tue Dec 17 21:43:17 PST 2002


Hi Hammad, 

Thanks for writing. I was actually hoping to get some help with my problem, not 
advertising to move my domains to another server! If you can help out, please 
let me know. Kabissa is a non-profit initiative run on a shoestring budget, so 
we would really be grateful for some advice on how to make IMP work for our 
purposes. REALLY grateful. :-) 

One difference between what you're offering and what we want to offer is that 
we do not want to set up multiple URLs for IMP - ie. mail.domain.ext and 
mail.domain2.ext etc - we only want the one instance of IMP being accessed via 
the one single URL at http://webmail2.kabissa.org - at the same time we don't 
want preferences to be shared across domains and we want the default identity 
to contain the correct email address for the username. 

Am I really the only person with this issue? I would have thought this would be 
a common problem - perhaps I'm just approaching this in the wrong way.. if so, 
someone please enlighten me! We're so close to getting this ready to release to 
our users! We've been using IMP 3.1 it for our own purposes for over two months 
now and are really happy with it - but can't share it with the rest of our 
users because of this problem. 

Best wishes, 

Tobias

-- 
Tobias Eigen
tobias@kabissa.org

Kabissa - Space for change in Africa
http://www.kabissa.org


Quoting Hammad <hammad@brisksolutions.com>:

> We at mail.brisksolutions.com provide exactly something like that. You like
> us
> to host your 500 domains. :)
> 
> We use IMP 3.1, HORDE 2.1, Courier-Imap, Vpopmail, Qmail.
> 
> And you don't have to put domain info after the username. Kool, isn't it.
> Unfortunately, just vdomain hook under IMP in not enough to do what you are
> trying to do.
> 
> Example: goto:  http://mail.brisksolutions.com   and then
> http://mail.visionglow.net
> 
> Same code, same server, same database but dynamic info for pages. Kool, isn't
> it.
> 
> --
> Hammad
> 
> 
> Quoting Tobias Eigen <tobias@kabissa.org>:
> 
> > Hi Ed, 
> > 
> > OK, let me try this again. 
> > 
> > 1. I have many domains on my server - about 500 in fact. I want to offer
> my
> > 
> > users webmail access to their IMAP mailboxes using IMP. 
> > 
> > 2. I'm running a PLESK system (http://www.plesk.com) installed on Redhat
> 7.2
> > 
> > with qmail and courier-imap. This allows people to set up and manage
> multiple
> > 
> > mailboxes on their domains, as well as aliases etc. I don't know what kind
> of
> > 
> > accounts these are - but I think not system accounts but only with access
> to
> > 
> > imap mailboxes.  
> > 
> > 3. I want to have a single login page to IMP at http://webmail.kabissa.org
> 
> > (that's currently 2.2 - I'm testing 3.1 at
> http://webmail2.kabissa.org/imp)
> > 
> > 4. Currently, if I set the server to localhost and do not allow users the 
> > option to specify the server name, then preferences are shared between 
> > usernames. For example, if I have a user info@domain.ext and
> info@domain2.ext
> > 
> > then the preferences for the two users will be the same. This affects 
> > identities, filters, addressbook, etc. Not good. 
> > 
> > 5. Even if there is no overlap across domains I have a problem. When a
> user
> > 
> > logs into IMP for the first time, then the "from" address will be
> incorrectly
> > 
> > specified as user@kabissa.org and not their own domain.ext. Their replies
> > then 
> > will bounce. It's very frustrating for them. 
> > 
> > 6. My idea for solving the preferences and default identity problem is to
> > have 
> > people log in with their full email address - username@domain.ext - which
> is
> > 
> > then broken apart to be used as follows: 
> > 
> > username - to log in
> > username@domain.ext - for preferences in IMP
> > username@domain.ext - From address for default identity
> > 
> > 7. I have the idea that this can be handled through hooks, but don't know 
> > enough abou it to know how. 
> > 
> > Does this help? 
> > 
> > Cheers,
> > 
> > Tobias
> > 
> > -- 
> > Tobias Eigen
> > tobias@kabissa.org
> > 
> > Kabissa - Space for change in Africa
> > http://www.kabissa.org
> > 
> > 
> > Quoting eculp@encontacto.net:
> > 
> > > Quoting Tobias Eigen <tobias@kabissa.org>:
> > > 
> > >  | Hi Ed,
> > >  | 
> > >  | Thanks for the (quick!) reply. I'm not sure if I am using "virtual
> > > domains"
> > >  | as
> > >  | you describe, but I thought I was. Can you tell me how to find out?
> > > 
> > > To login to your imap or pop3 server your user will have include the
> > domain.
> > > Your users probably don't have systems accounts on your server.
> > > 
> > >  | 
> > >  | I'm using IMAP to authenticate, and IMP for HORDE authentication.
> > >  | 
> > >  | There is but one way into IMP at the moment:
> > http://webmail2.kabissa.org
> > >  | 
> > >  | When it's ready, I want to move this to http://webmail.kabissa.org
> > >  | 
> > >  | My understanding, with my limited coding capability, of the vinfo
> hook
> > is
> > >  | that
> > >  | it uses the $HTTP_HOST variable to get the domain name - what I
> > actually
> > >  | want
> > >  | is for users to specify the domain name when they log in - ie.
> instead
> > >  | of 'username' they type in 'username@domain.com'. 
> > > 
> > > That is the default operation for virtual domains in courier, AFAIK.  It
> > > sounds like your users have systems accounts.
> > > 
> > >  | The server name would then
> > >  | always be localhost (they can't choose). 
> > > 
> > > I would assume that you only have one machine for imap, is that correct?
> > > If it is just use localhost in horde/imp/servers.php.  
> > > 
> > >  | Is there a way to use the hook for
> > >  | this purpose?
> > > 
> > > I'm not sure if I understand why.  You are only using one server you can
> > set
> > > it to localhost no matter what the virtual domain is.  It would appear
> > that
> > > you
> > > need to configure courier-imap for virtual hosts, select a backend, and
> > then
> > > use hooks to facilitate login for your users. [ tobias rather than 
> > > tobias@kabissa.org ]  
> > > 
> > > I'm sorry but I am afraid I may not be understanding what you want to do
> 
> > > clearly.
> > > 
> > > ed
> > > 
> > > -------------------------------------------------
> > > 
> > > 
> > 
> > 
> > -- 
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > 
> 
> 
> 



More information about the imp mailing list