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

Tobias Eigen tobias at kabissa.org
Tue Dec 17 22:03:40 PST 2002


Hi Ed, 

> They are virtual, I'm sure  What happens if you try to login with the 
> uid and domain name?  Do you get an error?  If so, how do you configure the 
> UID on another mail client that will let you login?  

I get the "Login failed for some reason. Most likely your username or password 
was entered incorrectly." error when trying to log in as tobias@kabissa.org. I 
usually use 'tobias' to log into IMP. On other mail clients I also use 'tobias' 
to log in. 

> None of the answers below will work if you can't login with the UID and 
> domain name.  

Alas :-( 

Thanks for the great ideas, 

Tobias
 
>  | 
>  | 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.
> 
> Ok, I see your problem.  I don't have it because my users login with
> their domain name but they are all on the same server with horde/imp.
> Imp is configured to use localhost for all.  They use
>   Mail.encontacto.net
>   mail.monarchhost.com
> 
> I login as eculp on any of them and my vinfo hook adds @encontacto.net or
> @monarchhost.com to my user name.  That also solves the problem with prefs,
> etc.  
> 
> I identify the domain name by using $_SERVER['HTTP_HOST'] and you want to
> identify the domain during/after login.  I've not done that although 
> someone else asked that question a few weeks ago.  Possibly, you can find
> in in the archives.
> 
>  | 
>  | 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.
> 
> I understand.
> 
>  | 
>  | 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
> 
> That is the way hooks does it.
> 
>  | 
>  | 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?
>  
> It does but a simple solution is dependent on your being able to login with
> a uid and domain name, IMO.

>From what you're writing, it still appears to me that I should be able to use a 
hook that gets the username and username@domain.ext from what the user types 
into the "Username" field, ie. instead of $_SERVER['HTTP_HOST']. Maybe I just 
don't understand enough about how hooks work. 

Let me take a look at the hook function and see if I can't hack it. If you have 
suggestions/ideas please let me know. 

Cheers,

Tobias

> 
> ed
> 
> -------------------------------------------------
> 
> 



More information about the imp mailing list