The Apache server under OpenBSD 3.2 runs (by default) as a
chroot'd daemon.

In order to use sqwebmail-3.4.0.20021026  as described in
the Courier-MTA docs, you must run Apache -u'n-chrooted'

Use the /usr/sbin/httpd -u  command line option.

Randy

Heeyung Ronald Yang wrote:
> 
> Hi,
> 
> I installed sqwebmail-3.4.0.20021026 on my OpenBSD 3.2.  I used the
> following configuration options to authenticate through only
> "authmysql":
> 
>     ./configure --enable-mimetypes
>                 --without-authuserdb
>                 --without-authpam
>                 --without-authldap
>                 --without-authpwd
>                 --without-authshadow
>                 --without-authvchkpw
>                 --without-authpgsql
>                 --without-authcram
>                 --without-authcustom
>                 --with-mysql-libs=/usr/local/lib/mysql
>                 --with-mysql-includes=/usr/local/include/mysql
> 
>     gmake
>     gmake check
> 
> As a root, run the followings:
> 
>     gmake install-strip
>     gmake install-configure
> 
> Then, I did this:
> 
>     /usr/local/share/sqwebmail/libexec/authlib/authdaemond start
> 
> Now, when I try to use web browser to open
> "http://localhost/cgi-bin/sqwebmail"; and type the valid user name and
> password, it gives me an error like "Invalid user id or password".
> 
> I see the error log in /var/log/messages:
> 
>     sqwebmail: authdaemon: s_connect() failed: Operation timed out
> 
> I can also see the same error message when "authdaemond" is stopped,
> which makes me to believe that sqwebmail(cgi) is not talking to
> authdaemon correctly.
> 
> When I start & stop "authdaemond", I can see the following in my
> /var/log/messages:
> 
>     authdaemond.mysql: authdaemon: modules="authmysql", daemons=5
> 
> BTW, I can run "authtest username" to see the information about the
> user in mysql.  So, I believe that "authmysqlrc" and "authdaemonrc"
> are configured correctly.
> 
> Any idea will be helpful since I am in complete darkness.
> If you need to know some other information about my setting, plz ask
> me.
> 
> H.Ronald Yang
> 
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 3 months FREE*.
> http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
> http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmorespam_3mf
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

-- 
Randy Lewis, RTMX.NET
----
http://rtmx.net
----
919 644 6456 (Hillsborough NOC)
919 644 7869 (Hillsborough Engineering/Sales)
919 259 7869 (Chapel Hill)
919 328 7869 (Durham)
336 303 7869 (Greensboro)
919 227 7869 (Raleigh)
910 744 7869 (Wilmington)
336 531 7869 (Winston-Salem)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to