Now, wherever your tag is, this is what you want (notice this also includes SquirrelMail's JavaScript auto-detect code):\n Īnd the actual input fields would be as such:\n If you still have problems, please look at the plugin code or ask for help on the SquirrelMail plugins mailing list.Īt the very top of the file, insert this:\n Īnd in the, insert this (this is just the auto-focus for the cursor):\n Below is a sample from a working installation where the relevant login plugin hook is called, which might even make this compatible with ANY plugins that use the same hook as well as password_forget. Ideally, you'd need your custom login page to be a PHP file that can make the correct function call into that plugin. If you are using the password_forget plugin, more work is required to build the login form correctly. You don't have to add all hooks used by all plugins, only the ones affecting the login process. View the plugin's setup.php file to find out which ones those are, then look at where those plugin hooks are used in src/login.php, and add them accordingly to your custom login page. In addition to the above, your code needs to execute any and all SquirrelMail plugin hooks used by any login plugin you are trying to get working. Don't forget to destroy SquirrelMail sessions first, otherwise if a user didn't logout properly, there's a risk of mixing personal information. Put this in the body tag so SquirrelMail housekeeping can be executed when the page loads:\n Īlso note that you may or may not want to use HTTPS instead of HTTP for secure password transmission. Here is a sample of the required HTML code (obviously, you need to add your own layout code):\n Any ideas on this one? Why is restrict_senders still in play even after I turn it off in conf.It is easy to put username and password input fields in any web page and let the user log into their SquirrelMail without going to the default SquirrelMail login page. I removed the plugin in question and restarted postfix and apache but the problem persists. Īlso, I'm trying to fix this error, which throws up a blank page when certain clients try to send a message through squirrelmail. PHP Fatal error: Call to undefined function load_config() in /usr/share/squirrelmail/plugins/restrict_senders/functions.php on line 23, referer. Here is the setting I have in the squirrelmail conf file: SquirrelMail Configuration : Read: config.php (1.4.0) If we could make that work without messing up the system, that would be OK but ideally, their own domain would be appended to the end of their regular name to make a valid email address. com on the end, which is why the emails don't go through (eg. Is there an easier way to make this work? All our usernames have the format user.domain without the. We can go in and manually edit the pref files but we have over 1000 mailboxes and it would take time. We have turned off the customers ability to edit their own setting as spammers were getting customer passwords through phishing expeditions and then changing their settings, using webmail to spam the world. Webmail users in Squirrel mail get a non-working reply address attached to all their outgoing mail and so their replies do not come back.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |