1) authdaemond wasn't running because you didn't use
/usr/lib/sqwebmail/libexec/sqwebmaild.rc start
2) File permissions weren't set properly.
As for #1, i did start the daemon:
r# ps aux | grep sq
root 394 0.0 0.0 1656 412 ? S Aug11 0:00
/usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start
/usr/lib/courier/authlib/authdaemond.pgsql
root 395 0.0 0.0 3120 668 ? S Aug11 0:00
/usr/lib/courier/authlib/authdaemond.pgsql
root 407 0.0 0.1 3224 1220 ? S Aug11 0:03
/usr/lib/courier/authlib/authdaemond.pgsql
root 408 0.0 0.1 3224 1220 ? S Aug11 0:03
/usr/lib/courier/authlib/authdaemond.pgsql
root 409 0.0 0.1 3224 1192 ? S Aug11 0:03
/usr/lib/courier/authlib/authdaemond.pgsql
root 410 0.0 0.1 3224 1132 ? S Aug11 0:03
/usr/lib/courier/authlib/authdaemond.pgsql
root 411 0.0 0.1 3224 1132 ? S Aug11 0:03
/usr/lib/courier/authlib/authdaemond.pgsql
postgres 462 0.0 0.1 8800 1000 ? S Aug11 0:07
/usr/lib/postgresql/bin/postmaster
I can't see sqwebmaild running. How about "ps aux | grep sqw" to
prune out sql-entries?
As for #2... I checked the suggested places... and did a suid for the
cgi executable... but this had no effect.
Do not make it suid. Apache won't run it. It just needs to be
executible by the Apache daemon (usually r-xr-xr-x).