Hi,

I just wanted to point out a potential problem  when configuring sqwebmail
for vpopmail on Solaris.  The docs state that the authvchkpw module will
install automatically if you have the user "vpopmail" defined on you system.
Unfortunatly, this wasn't the case for me (I've seen at least one other
complaint about this on the archive too).

The configure scripts (in the authlib and sqwebmail subdirectories) check
for the existense of the vpopmail user by doing a "test -d ~vpopmail".  Of
course on Solaris, bourne shell (/bin/sh) doesn't understand the ~username
notation, and the test fails. (BTW, does any /bin/sh understand this
notation?)  So, the quick fix, is to just manually edit the configure
scripts to not use the ~vpopmail notation.

A more portable/dynamic solution, would probably be to change the configure
scripts to exec a csh to find the vpopmail home directory.  I'm not a shell
programmer, but something like this might work...

33 coby@gomez:/usr/local/src/sqwebmail/sqwebmail-1.0.2/authlib % diff
configure.dist configure
2619c2619,2620
<       if test -d ~vpopmail/.
---
>         vpopmail_home=`csh -fc "echo ~vpopmail" 2> /dev/null`
>       if test -d "$vpopmail_home"
2626d2626
< vpopmail_home=.
2632d2631

Something similar needs to be done sqwebmail/configure.

Oh, BTW, the authlib/configure script for courier-imap has the same
"problem".

-Coby

Reply via email to