> 
> make sure your users login with their full name + email address.
> 

They do! 

Ex:    login: [EMAIL PROTECTED]     pass: pass

> e.g. [EMAIL PROTECTED]
> 
> that way it gets logged with the vhost.

No.

When somebody uses (for ex.) outlook and the login is defined as:
[EMAIL PROTECTED] (+ his password) we get this LOG:

Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]

NOT [EMAIL PROTECTED] ::: NO host-info!!!

Do you get something else?

> 
> the problem with your vhost setup is, is that you can't have two of the same
> accounts for
> different domains,
> 
> e.g. [EMAIL PROTECTED]
> [EMAIL PROTECTED]

This is handled trough vmailmgrd!

We have [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED] and so on!

Every user has to login with his FULL login-name like mentioned above.

And everything works as expected!

But we don't see any domain in the logs!

> 
> i use ldap is the authentication backend and altered the me file
> /courier/etc to change the domain name to something other then
> the default domain, as it gets appended by default to the username and
> authentication fails.
> 
> also i have created a hostedddomains file with domains that i host.

Is 'hosteddomains' handled by courier? If yes, how?

***

Any comments?

thx.

m.

> 
> Mail me if you want more info,
> 
> With kind regards,
> 
> Tjeerd van der Zee
> 
> ----- Original Message -----
> From: "M. Jolic" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 02, 2002 1:16 PM
> Subject: [courier-users] courier-imap and virtual domains with vmailmgr &
> qmail...
> 
> 
>> Hi Gurus,
>> 
>> i've searched the list but nothing found similar.
>> 
>> I've got a problem to log the user WITH domain in the Logs.
>> 
>> The normal way shows the user only.
>> 
>> from imapd.c
>> [...]
>> fprintf(stderr, "INFO: LOGIN, user=%s, ip=[%s]\n",
>> getenv("AUTHENTICATED"), ip);
>> [...]
>> 
>> maillog:
>> [...]
>> Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
>> Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]
>> Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, ip=[xxx.xxx.xxx.xxx],
>> headers=76, body=4477
>> [...]
>> (btw: HOST is the name of the server)
>> 
>> So, how get we logged the virtual domain?
>> 
>> Like, for ex.:
>> 
>> user1 is a user from virtual domain example.com.
>> 
>> It could look like:
>> 
>> maillog:
>> [...]
>> Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
>> Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, domain=example.com,
>> ip=[xxx.xxx.xxx.xxx]
>> Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, domain=example.com,
>> ip=[xxx.xxx.xxx.xxx], headers=76, body=4477
>> [...]
>> 
>> thx.
>> 
>> m.
>> 
>> 
>> 
>> -------------------------------------------------------
>> This sf.net email is sponsored by:ThinkGeek
>> Welcome to geek heaven.
>> http://thinkgeek.com/sf
>> _______________________________________________
>> courier-users mailing list
>> [EMAIL PROTECTED]
>> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to