Problem with Squirrelmail

i set up my mail server with:

qmail + vpopmail + courier-imap + squirrelmail

here's the problem:

i have two domain names set up as virtual domains with qmail and vpopmail. domain1.com and domain2.com

courier-imap was compiled to use the vpopmail's auth module.

now lets say two accouts on different domains but with the same user ID:

webmaster@domain1.com
webmaster@domain2.com

there is no problem with POP3 service. the user has to use the FULL email address as the username when connecting with POP3.

but with squirrelmail, in the login page, i found out that if i put "webmaster" as the login name, BOTH passwords for webmaster@domain1.com and webmaster@domain2.com will work! when using password for domain1, it goes to domain1's mailbox and same with domain2.

how do i avoid this? how can i restrict squirrelmail to check against the full email address or limit it to just one domain name?

 

 

 

 

Top