Jon Clausen wrote:
On Wed, 23 Nov, 2005 at 08:38:54 -0600, Jim Flanagan wrote:
Kastus wrote:
Here is your problem. User imap cannot read /etc/sasldb2 which is owned by root, I believe. Change ownership of /etc/sasldb2 to imap.
OK, that works! I set permission on that file to be user "cyrus" with group "mail". All seems to be working fine now. Is the group "mail" the correct (and safe) setting?
Depends. Basically the file just needs to be readable for cyrus. My /etc/sasldb2 is -rw-r----- cyrus:root
As long as you're manipulating the sasldb as root (running saslpasswd2 from the commandline) there is no need for the group 'mail' ownership.
Many thanks to you, Ciro and notably Jon for your help. The link and other info Jon sent was most helpful.
"We aim to please" :)
Happy Thanksgiving to all who celebrate that US tradition.
Indeed.
/Jon
Hi again Jon, Since I changed the saslauth to work with sasldb, Squirrelmail seems to be broken. Going to http://localhost/squirrelmail/ give a 403 error page message stating that I don't have permission to access that dir, or that there is no index doc or the dir is read-protected. I didn't have this problem before, and was wondering if it is related to sasldb not having a password for squirrelmail or something. Permissions on ~/squirrelmail are root, with user read/write, others can read. Same for the index.php file in that dir. This might not be the problem however as I don't get the squirrelmail login screen, so I don't get to the point where I enter user names or passwords. I can access my cyrus imap mailboxes using Thunderbird on port 143, so that is working. Any thoughts? Jim