* On 21/06/06 14:27 -0700, Paul Lesniewski wrote: | On 6/21/06, Tomas Kuliavas <tokul@xxxxxxxxxxxxxxxxxxxxx> wrote: | > > | > Hello Squirrels ;) | > > | > | > > | > | > > | > I am one happy sysadmin who uses this wonderful piece of code. | > > | > Thanks to Paul and Ryan for the good job. | > > | > | > > | > However, I do have two problems at the moment and I am not sure it's | > > | > the fault of the plugin, the fault of SM, or my own fault. | > > | > | > > | > 1. I have had cases where a user's .prefs file has been changed. | > > | > What I mean is that snubber-sm@xxxxxxxxxxxxxxxx has ended up | > > | > having pdontthink@xxxxxxxxxxxxxx as the e-mail address, for | > > | > example. How this happens has left me stumped. This is very | > > | > dangerous, because then, when snubber-sm@xxxxxxxxxx sends out | > > | > an e-mail, they appear as from pdontthink@xxxxxxxxxxxxxx, so | > > | > the replies would go to pdontthink@xxxxxxxxxxxxxxx | > > | > Some of my clients are planning to crucify me for this sad | > > | > problem. I am lost as to how this can happen... | > > | > On another setup where I do not use the vlogin plugin, this | > > | > has never happened (never reported to me). | > > | > | > > | > 2. I have a client who has shoved his fingers up my ass .. almost | > > | > literally, and I was wondering how I can solve his problem with | > > | > vlogin plugin. Basically, I want to display to him a different | > > | > login page from all the other domains: | > > | > | > > | > 'sucker-domain.tld' => array ( | > > | > login_page' => 'http://www.suker-domain.tld', | > > | > ) | > > | > | > > | > I am not sure I am clear, but in my setup, all domains end up with | > > | > the same login page. All domains have to reference the prefix | > > 'webmail' | > > | > to their domains to access the web UI, e.g. | > > | > | > > | > webmail.wash.com will open up the default SM login page: | > > | > | > > | > http://webmail.wash.com/src/login.php | > > | > | > > | > There is some text displayed on the page that one client who sux just | > > | > won't see. For a live page, see: | > > | > http://webmail.wananchi.co.ke/src/login.php | > > | > | > > | > Now, I just want to use the plugin to reference either | > > | > | > > | > (a) a different login page (could be http://webmail.domain.com/x.html) | > > | > (b) a different index page, e.g. | > > | > | > > | > 'sucker-domain.tld' => array ( | > > | > login_page' => '/path/to/sucker.html' | > > | > ) | > > | | > > | Enable login_redirect login on client's domain. | > > | http://www.squirrelmail.org/plugin_view.php?id=246 | > > | > > I have seen this plugin today, but it's still unclear to me how to use | > > it, after reading the README/INSTALL notes shipped with it, especially | > > where it mentions says: | > > | > > <quote README> | > > You can change the login page for different domains if | > > you use the Virtual Host Login (vlogin) plugin and configure | > > the "login_redirect_custom_login_URI" setting for each domain | > > in the Virtual Host Login configuration. | > > </quote README> | > | > Create custom login page | > (http://www.squirrelmail.org/wiki/EmbeddedSquirrelMailLogin) that is | > acceptable for your client, host it in client's web space and redirect | > client's domain logins to that page. | > | > Or install other squirrelmail installation in client's web space. | > | > If your client wants customized login page, login_redirect can help you to | > do that. If client wants something else, please be specific. What do you | > have to change in login page? | | I think maybe the OP just didn't understand how to make that Vlogin | setting. That is absolutely correct! | If so, what it is telling you to do is add an entry to your | $virtualDomains array with the name "login_redirect_custom_login_URI" | and the value that points to the custom page that you created for | them. Does this require that the "login_redirect" plugin be installed? I did not understand how I can use login_redirect_custom_login_URI within vlogin/data/config.php when no such thing is defined as a global variable. | I think you can get away with only adding it to the problematic | domain. Your further advise is most appreciated. cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) | wash () WANANCHI ! com . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users