I have successfully installed squirrelmail version 1.5.1 alongwith courier-imap-4.1.1, courier-authlib-0.58, php-5.1.6 on SuSE 10.1 with 2.6.18.
I have configured postfix-2.3 to use TLS/SSL and have been able to telnet and authenticate successfully.
When I use the squirrelmail web interface to login, from the logs I can see that login has been successful only to be logged out immediately. Squirrelmail web interface displays "You must be logged in to access this page. Go To The Login Page" !!
Here's the log output:
_____________________________________________________________________
Oct 5 01:14:00 linux authdaemond: modules="authmysql", daemons=1
Oct 5 01:14:00 linux authdaemond: Installing libauthmysql
Oct 5 01:14:00 linux authdaemond: Installation complete: authmysql
Oct 5 01:14:11 linux imapd: 1 active connections.
Oct 5 01:14:11 linux imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 5 01:14:11 linux imapd: LOGIN: ip=[::ffff:127.0.0.1], command=LOGIN
Oct 5 01:14:11 linux imapd: LOGIN: ip=[::ffff:127.0.0.1], username=test
Oct 5 01:14:11 linux imapd: LOGIN: ip=[::ffff:127.0.0.1], password=test
Oct 5 01:14:11 linux authdaemond: received auth request, service=imap, authtype=login
Oct 5 01:14:11 linux authdaemond: authmysql: trying this module
Oct 5 01:14:11 linux authdaemond: SQL query: SELECT id, "", clear, uid, gid, home, concat(home,'/',maildir), "", name, "" FROM users. WHERE id = "test@localhost" AND (enabled=1)
Oct 5 01:14:11 linux authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/spool/mail/virtual, address=test@localhost, fullname=test, maildir=/var/spool/mail/virtual/test/, quota=<null>, options=<null>
Oct 5 01:14:11 linux authdaemond: authmysql: clearpasswd=test, passwd=<null>
Oct 5 01:14:11 linux authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/spool/mail/virtual, address=test@localhost, fullname=test, maildir=/var/spool/mail/virtual/test/, quota=<null>, options=<null>
Oct 5 01:14:11 linux authdaemond: Authenticated: clearpasswd=q, passwd=<null>
Oct 5 01:14:11 linux imapd: LOGIN, user=kevin@localhost, ip=[::ffff:127.0.0.1], protocol=IMAP
Oct 5 01:14:11 linux imapd: LOGOUT, user=kevin@localhost, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=30,sent=284, time=0
______________________________________________________
Why would it logout immediately ? What am I missing here ? I have gone several HOWTOs on setting up (web) mail servers and have followed all the necessary steps. I have tried using dovecot for imap and authentication and have been suceessfull logging in but dovecot backfires saying 'permission denied' while writing to the user's maildir.
Is there a way, I can see what is going on in the background. I have already set the DEBUG_Login variable to '2' and that is how I could get the above log messages. Other than, is there way to force squirrel mail to log the debug messages ? Does squirrelmail have a log ?
I woud appreciate any responses in this regard as I'm very close to getting successful !!
Thanks.
I have configured postfix-2.3 to use TLS/SSL and have been able to telnet and authenticate successfully.
When I use the squirrelmail web interface to login, from the logs I can see that login has been successful only to be logged out immediately. Squirrelmail web interface displays "You must be logged in to access this page. Go To The Login Page" !!
Here's the log output:
_____________________________________________________________________
Oct 5 01:14:00 linux authdaemond: modules="authmysql", daemons=1
Oct 5 01:14:00 linux authdaemond: Installing libauthmysql
Oct 5 01:14:00 linux authdaemond: Installation complete: authmysql
Oct 5 01:14:11 linux imapd: 1 active connections.
Oct 5 01:14:11 linux imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 5 01:14:11 linux imapd: LOGIN: ip=[::ffff:127.0.0.1], command=LOGIN
Oct 5 01:14:11 linux imapd: LOGIN: ip=[::ffff:127.0.0.1], username=test
Oct 5 01:14:11 linux imapd: LOGIN: ip=[::ffff:127.0.0.1], password=test
Oct 5 01:14:11 linux authdaemond: received auth request, service=imap, authtype=login
Oct 5 01:14:11 linux authdaemond: authmysql: trying this module
Oct 5 01:14:11 linux authdaemond: SQL query: SELECT id, "", clear, uid, gid, home, concat(home,'/',maildir), "", name, "" FROM users. WHERE id = "test@localhost" AND (enabled=1)
Oct 5 01:14:11 linux authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/spool/mail/virtual, address=test@localhost, fullname=test, maildir=/var/spool/mail/virtual/test/, quota=<null>, options=<null>
Oct 5 01:14:11 linux authdaemond: authmysql: clearpasswd=test, passwd=<null>
Oct 5 01:14:11 linux authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/spool/mail/virtual, address=test@localhost, fullname=test, maildir=/var/spool/mail/virtual/test/, quota=<null>, options=<null>
Oct 5 01:14:11 linux authdaemond: Authenticated: clearpasswd=q, passwd=<null>
Oct 5 01:14:11 linux imapd: LOGIN, user=kevin@localhost, ip=[::ffff:127.0.0.1], protocol=IMAP
Oct 5 01:14:11 linux imapd: LOGOUT, user=kevin@localhost, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=30,sent=284, time=0
______________________________________________________
Why would it logout immediately ? What am I missing here ? I have gone several HOWTOs on setting up (web) mail servers and have followed all the necessary steps. I have tried using dovecot for imap and authentication and have been suceessfull logging in but dovecot backfires saying 'permission denied' while writing to the user's maildir.
Is there a way, I can see what is going on in the background. I have already set the DEBUG_Login variable to '2' and that is how I could get the above log messages. Other than, is there way to force squirrel mail to log the debug messages ? Does squirrelmail have a log ?
I woud appreciate any responses in this regard as I'm very close to getting successful !!
Thanks.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users