Jeff Jansen writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > [EMAIL PROTECTED] wrote: >> A few questions left. >> I only have a locals file – I don’t have a hosteddomain file. In my >> locals file I have the 3 domains I host. >> I have a logindomainlist file with the 3 domains I host. This way >> sqwebmail login dialog page shows a dropdown to select domain. >> When a user uses brings up sqwebmail login dialog page and enters a >> userid and selects a domain from the dropdown I can see from the system >> log that the user is trying to log in to a system account that includes >> the domain name. How is that possible as I don’t have a hosteddomain file? > > The 'locals' and 'hosteddomains' files just tell courier how to handle > addresses - whether to include the domain as part of the user's name or > not. They have nothing at all to with what names people use when they > log in. I can go to your web site and try to log in as > "[EMAIL PROTECTED]". And the log will show that I tried using that > username. But of course it will fail, since there is no user called > "[EMAIL PROTECTED]" on your box. > > Since you put your three domains into the 'logindomainlist' file, > sqwebmail appends which ever one you choose to the user name when you > try to log in. If your domains are in 'locals' then you do not want > this since your users have to log in without the domain as part of their > name. Delete that file and tell all your users to log in using only > their username without the domain. > > So '[EMAIL PROTECTED]' will log in as 'user1'. And '[EMAIL PROTECTED]' > will log in as 'user2'. Any user whose domain is listed in the 'locals' > file will log in using only the username part of their address. > >> You suggest that I can alias [EMAIL PROTECTED] to a system accout >> ‘user’ How can I do that? > > There's an 'aliases' folder in your courier 'etc' directory. Create a > file in there (name the file whatever you want) and list all your > aliases in there in the form: > > alias: account > > So if you want "[EMAIL PROTECTED]" to deliver to a system user called > 'user' then the file would put: > > [EMAIL PROTECTED]: user > > in the file. Then run the command 'makealiases'. > > Now mail addressed to "[EMAIL PROTECTED]" will be delivered to 'user'. > This user will log on simply as 'user'. > > But remember, for any domains in 'locals' all the username portions need > to be unique since courier will ignore the domain part of the name. If > you want '[EMAIL PROTECTED]' and '[EMAIL PROTECTED]' to be different you > need to move one of these domains to 'hosteddomains'. > > HTH > > Jeff Jansen > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGe6O8GfIHDMaiC9cRAvKvAJ9Sp/TM+8b25FCi/VMKL0u81tYqXgCfdZrS > KwLfgoXeJctrvKquEpq2ZNY= > =llfc > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > courier-users mailing list > [email protected] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Hi Jeff It helps a lot. You write: > Since you put your three domains into the 'logindomainlist' file, > sqwebmail appends which ever one you choose to the user name when you > try to log in. If your domains are in 'locals' then you do not want > this since your users have to log in without the domain as part of their > name. Delete that file and tell all your users to log in using only > their username without the domain. If I do this then the user will not have the correct e-mail address in the upper right corner of the sqwebmail interface. The username is correct but the domain is my 'main' domain and not the domain I wish. Ie. I run 'domain1.org' (my main domain) and 'domain2.org'. I have a system account that I want to give an e-mail address on 'domain2.com', ie. '[EMAIL PROTECTED]'. When that user goes to http//www.domain2.com/courier/webmail he sees the sqwebmail login dialog. He logs in with only his userid (no domain) and that works fine (I have delete the 'logindomainlist' file). Now the user gets into sqwebmail, but sqwebmail shows that his e-mail address is '[EMAIL PROTECTED]'. I have not tried to send mail but I assumes he sends from '[EMAIL PROTECTED]' and not what I want '[EMAIL PROTECTED]' I am new to this stuff and I very much appreciate your help. Thanks Venlig hilsen Thomas Seilund Løkketoften 46 2625 Vallensbæk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
