|
From: Marvin P. <mar...@bi...> - 2002-12-13 05:14:01
|
On Fri, 2002-12-13 at 10:36, p dont think wrote: > The upshot is.... set $debug = 0; > > > > Sir, > > No need for the formalities. We're a lot friendlier than that around > here - my tone in my last email may have been a little harsh, but I was > frustrated... and again I *DID* respond to you, asking you four > specific questions about things you didn't include in your email -- it > is *you* who seems to have missed that post. Here it is again, although > I will take a stab in the dark at what is wrong below that... > > Please tell me: > > 1. what is the username you want to be able to enter on the login page > -- "jassa" or "marvin"? Yes, "jassa" only. I want that the login will be easier for the users to remember and not entering the whole e-mail address that they have like "ja...@bi...". But the truth is, AFAIK, the complete virtual user name of "jassa" is "ja...@bi...", under the system user "bintut". > 2. you said "ja...@bi... is a vitual user for VMailMgr" -- sorry > for my ignorance (never used qmail/vmailmgr), but does vmailmgr remap > that for you? that is, where does your SM send its logins - to vmailmgr > or directly to imap? If you need to have your login remapped > automatically, you might need to use the sendmail style virtual user > table, but I need to get a better feel for how your setup works before I > shoot my mouth off... ;> Okay, what I did was I *add* "authvmailmgr" before "authdaemon" of my AUTHMODULES entry of my /etc/courier/imapd configuration file. "authvmailmgr" is the authentication command for VMailMgr for all the virtual users that it has. - - - < s n i p > - - - AUTHMODULES="authvmailmgr authdaemon" - - - < s n i p > - - - Also, I *add* "authvmailmgr" before from the other values that I have in my "authmodulelist" of my /etc/courier/authdaemonrc configuration file. - - - < s n i p > - - - authmodulelist="authvmailmgr authcustom authcram authuserdb authldap authpgsql authmysql authpam" - - - < s n i p > - - - > 3. (related to number 2) what is the target username that vlogin > should be constructing? marvin.bir.gov.ph and not ja...@bi...? The target username should be "ja...@bi..." because "marvin.bir.gov.ph" is the FQDN of my machine. What do you mean of "sendmail style virtual user table"? I'm sorry, I don't know that much with the other MTAs even with qmail because I'm really a newbie and I'm not a Systems Administrator of our office. > 4. what is the URL that you will use to get to your login page (feel > free to use an example if you don't want to post real information) For now in this test machine that I'm working on is "http://www.bir.gov.ph/mail/src/login.php". But I think it would be nice if we will deploy this for production already, I suggest that the complete URL will be "http://mail.bir.gov.ph/". > > I created a system user named "bintut" who now owns the two virtual > > users that I created namely "ja...@bi..." and "gi...@bi...". > > Not sure what bintut has to do with it. But I assume you currently can > log in with a username of "ja...@bi... " or "gi...@bi... ", and > would rather log in as "jassa " or "gigi ", right?? Yes, you're right. As I've said, I can login using "ja...@bi..." but with "jassa" only, I can't. > > I extracted the vlogin-2.5.tar.gz plugin that you sent to me at > > /var/www/html/squirrelmail-1.2.9/plugins/ directory and add it in my > > configuration. After that, I tried logging-in using only the username > > without the domain and I got this error: > > Did you read the readme?? Did you go through the config settings?? Yes. > > Your IMAP login was resolved to: > > ja...@bi... > > It looks like you have the $debug set = 1. No? (Yes. I confirmed this > from your last email.) You need to turn it off (set to zero) and if > "ja...@bi..." is the correct login (I think you said it is), then > you should be set. That setting is only for debugging (thus the name) > and is the cause of what you call an "error" (that's not an error!). I just set the "$debug set = 1" because I want to get the result for the debug mode if I just enter the login name as "jassa" only. But if it's zero "0", an error message said that I entered an incorrect login name or password. I can log in if I'll enter the complete e-mail address (e.g. ja...@bi...) but I can't if I'll just enter the username part excluding the domain part of the e-mail address (e.g. jassa). > > [1] ACCOUNTING DEPARTMENT > > Virtual Domain - accounting.bir.gov.ph > > Virtual Users - acc...@bi... (Employee No. 1) > > - acc...@bi... (Employee No. 2) > > Just set $numberOfDotSections = 3 and $removeFromFront = 1 That is actually what I did, Sir. Thank you very much, Sir. God bless... --- MARVIN T. PASCUAL E-mail: mar...@bi... Tel. No. (+632) 9252053 Mobile No. +639193141254 Yahoo! ID: bintut |