Fixing Squirrelmail SERVERBUG


Error: Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more information. Solution: It turns out this was due to incorrect permissions on the user mail directory as well as the user not being in the "mail" group. A good link for this config is available here: Ref URL If you create directories in the /etc/skel (as described in the reference url) they will automatically applied the the new user /home/NEWUSERNAME directory upon creation. Then all you need to do is be sure to add the user to the mail group using the command: sudo adduser yournewusername mail Once they have been added to the mail group then they should be able to access squirrelmail. If you are still having issues, follow the instructions on setting permissions. This basically copies the template to the user directory and sets permissions using the following commands. (The Maildir directory may change depending on how you set up the mail server) ** NOTE: Change out USERNAME for the actual name of your user sudo cp -r /etc/skel/Maildir /home/USERNAME/ sudo chown -R USERNAME:USERNAME /home/USERNAME/Maildir sudo chmod -R 700 /home/USERNAME/Maildir