Anders Dyekjær Hansen writes:
Hi list,
I need a little help getting the password change function to work in
sqwebmail.
I'm running on FreeBSD and have installed courier-auth, courier-imap and
sqwebmail from ports. The authdaemon uses mysql as a backend an login etc.
works perfectly.
There's no such thing as "courier-auth". There is a courier-authlib
package, if that's what you mean. Furthermore: there have been some major
recent changes to the authentication framework. You need to indicate the
actual versions of all these packages.
When looking in the maillog file I see this:
Feb 18 20:22:18 <hostname> sqwebmaild: authdaemon: s_connect() failed:
Permission denied
Setting debug=2 in sqwebmail reveals nothing at all...
Permissions on sqwebmaild are:
# ls -al /usr/local/libexec/sqwebmail/sqwebmaild
-r-xr-xr-x 1 root wheel 504640 Feb 17 22:26
/usr/local/libexec/sqwebmail/sqwebmaild
Any hints would be greatly appreciated!
Presuming that you're using the latest versions of all packages: verify the
ownership and the permissions of the sqwebpasswd wrapper. It should have
the setgid bit set, and owned by whatever userid and groupid was assigned to
courier-authlib.