[SOLVED] Defalt Login Credentials for SquirrelMail
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm assuming these aren't virtual accounts. What happens when you try to login to the Linux box using a console? Are the credentials OK?
These are normal system accounts only and I am able to send/receive mails through mail (using sendmail) command. Also, I am able to login also through console.
Have you also checked your IMAP server logs? For example in /var/log/secure and /var/log/maillog I get the following entries when I log in to my IMAP server:
Sep 12 12:45:45 server xinetd[3862]: START: imap pid=4514 from=192.168.1.204
Sep 12 12:45:45 server imapd[4514]: Login failed user=vikas auth=vikas host=server.red.com [192.168.1.204]
Sep 12 12:45:48 server xinetd[3862]: EXIT: imap status=0 pid=4514 duration=3(sec)
and this in /var/log/maillog
Code:
Sep 12 12:48:24 server imapd[4584]: imap service init from 192.168.1.204
Sep 12 12:48:27 server imapd[4584]: Logout user=vikas host=server.red.com [192.168.1.204]
Here, vikas is the username from which I am trying to login.
I think there is some problem with the IMAP server because I can not even login with the below command through mutt.
Code:
mutt -f imap://192.168.1.204
This gives me "Login Failed" error.
I will try a different IMAP server, dovecot and then place the results here.
Yes, indeed there was a problem with IMAP server (UW-IMAP).
Dovecot is working fine.
Now, all users other than root are able to login through this mutt command -
Code:
mutt -f imap://192.168.1.204
Now, there is another problem. While logging through root I am getting this error
ERROR: Connection dropped by IMAP server.
And, when I login through some other user (other than root), I am this error.
Error opening ../data/default_pref
Could not create initial preference file!
/usr/local/squirrelmail/data/ should be writable by user daemon
Please contact your system administrator and report this error.
Any suggestions ?
I tried looking for some option in /etc/dovecot.conf which allows root user, but could not find any.
Thanks Bathory, I have sorted out this problem by the below command.
Code:
chmod -R 777 /usr/local/squirrelmail/data
This might be not the best method, but still it works for me
It's not good to give read-write-execute attributes to everyone. Undo it and use the chown command above, to allow only daemon to write in that directory.
Quote:
Connection refused
111 Can't open SMTP stream
I guess you have misconfigured the smtp server. Run ./config.pl and review the smtp settings.
It's not good to give read-write-execute attributes to everyone. Undo it and use the chown command above, to allow only daemon to write in that directory.
I guess you have misconfigured the smtp server. Run ./config.pl and review the smtp settings.
Regards
Thanks a ton mate !
I am happy man now.
I did this # cd /usr/local/squirrelmail/www; ./configure
and then in Under "2. Server Settings", selected option 3 and chose sendmail.
Now, I believe I can use full functionality of Squirrelmail (I have tried few) except attachments.
For some reasons, on adding an attachment, I am getting this error
The directory that the attachments are stored temporarily must be at least group writable by the group that the webserver user belongs.
To find or set that directory, run ./configure, select 4 and then 2
The directory that the attachments are stored temporarily must be at least group writable by the group that the webserver user belongs.
To find or set that directory, run ./configure, select 4 and then 2
Cheers
Thanks Bathory, I will check it and get back to you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.