From: Paul L. <pa...@sq...> - 2016-12-10 10:22:19
|
On 2016年12月09日 10:39, Kevin C. Connell wrote: > Greetings, > > We are running SquirrelMail 1.4.22, with Exim on CentOS. I have one email > account that is functional inbound/outbound using IMAP, but the problem > is, the SquirrelMail web page will not load, it times out. Please be specific with what "the SquirrelMail page" means. There are many "pages" in SquirrelMail. Do you mean that the login times out? Please refer to your server logs to see why. The mailing list archives have pointers of where to find your logs. If your IMAP server is timing out, you should see something in your logs. If SquirrelMail itself is timing out, watch the web server log for helpful information. You need to look at how big the user's INBOX is, your PHP memory limit and max execution time settings, etc. Make sure you are not using some kind of PHP-side modules that do things to all the user's INBOX messages, such as the "filters" plugin. And check the config file for what the $allow_thread_sort and $allow_server_sort settings are. Etc... > 2 things happened with this account prior to the web page not loading: > > 1) The account was hacked and was getting bombarded with spam email. An account doesn't have to be hacked to get bombarded with spam. In such a case, the user prefs will not have changed and your problem may simply be that you need to deal with an extremely large INBOX. > 2) Some SPAM and display settings were changed by the user. I'm not sure > exactly which settings were changed. > > As I mentioned though, IMAP sending and receiving is working fine on this > account. SquirrelMail is also an IMAP client. > Is there some way from the command line, to get this account > back to default SquirrelMail settings? Sure, find the user prefs file (or settings in your database) and change them to what your default prefs file has. But this is probably not your issue, and resetting user prefs will do nothing more than annoy your user. > And also, purge the deleted items > folder? Purging user mail should be taken seriously - it can eliminate mail the user didn't want to lose (no matter which folder), or mail that helps with forensics after a break-in. That said, how to purge messages depends entirely on what IMAP server you are using. Sometimes you can manually delete maildir files or clear out a mailbox file, but don't do that unless you know what you're doing. I.e., in the case of dovecot, you're better off using 'doveadm expunge'. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |