16 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] need help with sqwebm...
FromSent OnAttachments
Guido R. Rolon A.May 28, 2005 5:42 am 
Brian CandlerMay 29, 2005 1:57 am 
Guido R. Rolon A.May 30, 2005 5:41 am 
Guido R. Rolon A.May 30, 2005 6:41 am 
Brian CandlerMay 30, 2005 11:24 pm 
Brian CandlerMay 30, 2005 11:28 pm 
Guido R. Rolon A.May 31, 2005 5:32 am 
Brian CandlerMay 31, 2005 11:29 pm 
Guido R. Rolon A.Jun 1, 2005 4:22 am 
Guido R. Rolon A.Jun 1, 2005 7:27 pm 
Brian CandlerJun 2, 2005 12:39 pm 
Guido R. Rolon A.Jun 2, 2005 7:33 pm 
Sam VarshavchikJun 2, 2005 7:51 pm 
Brian CandlerJun 2, 2005 11:39 pm 
Brian CandlerJun 2, 2005 11:41 pm 
Guido R. Rolon A.Jun 3, 2005 5:23 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] need help with sqwebmail and courier-imap-popActions...
From:Guido R. Rolon A. (gro@soluciones-alternativas.com)
Date:May 30, 2005 5:41:43 am
List:net.sourceforge.lists.courier-sqwebmail

Hi Brian,

My courier-imap is working fine with imap and pop3. I think this configuration is already using a courier-authlib because thereis a file that configures it,

/etc/courier/authdaemonrc authmodulelist="authcustom authcram authuserdb authldap authpgsql authmysql authpam" authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql authpam" daemons=5 version="" authdaemonvar=/var/run/authdaemon.courier-imap

Yes, when i tryied to compile sqwebmail it complained about

courierauthconfig. Then i downloaded and compiled courier-authlib

./configure make make install make install-migrate make install-configure

I'm not sure what i did or what is going on, i think i have 2 authlib running or trying to run on my system. I've moved 200 users from /etc/passwd and /etc/shadow to the /etc/userdb.

Should i doanload and compile courier-imap, courier-authlib and sqwebmail ?.

Thanks in advance.

Brian Candler wrote:

On Sat, May 28, 2005 at 08:42:59AM -0400, Guido R. Rolon A. wrote:

--with-authdaemonvar=/usr/local/var/spool/authdaemon

...

May 26 21:25:18 mail authdaemond.plain: found pop3pw in userdbshadow

...

May 26 21:10:36 mail sqwebmaild: authdaemon: s_connect() failed: No such file or directory

You are running the wrong bits together.

sqwebmail-5.x needs courier-authlib to authenticate. It looks like you are running an old version of courier-imap, which has a built-in authentication library.

I'm surprised that ./configure didn't give you an error that it couldn't find courierauthconfig.

In any case, you *might* be able to get it to work by messing with authdaemonvar, although it's a totally unsupported configuration.

You could try setting sqwebmail to have a single sqwebmaild child (instead of the default 5), trace it with strace, and find out exactly what file s_connect is trying to open (i.e. where sqwebmail thinks the socket is). Then alter authdaemonvar appropriately, or insert a symlink.

As I say, this is *not* a supported configuration; if you want something that will definitely work, then build courier-authlib and then sqwebmail. You'll end up with two sets of authdaemons running, one for your (old) courier-imap popd, and one for your (new) sqwebmail.

If you also rebuild courier-imap as version 4.x, then it will share the authdaemon.

HTH,