On Fri, Mar 10, 2006 at 03:49:52PM -0500, Charles Sprickman wrote: > I've been playing around with authdaemond and the courier-imap servers and > I've been having a hard time getting authdaemond running as the virtual > mail user and also having courier-imap/pop run as that user. Even with > the socket perms set to that user, authdaemond running as that user and > then a "-u" flag in couriertcpd, no go. > > I must be missing something, I was digging around the authdaemon pages and > didn't see any examples of what I was hoping to do. It did seem to me > that if everything is running as the same user there should be no > permissions issues... > > Any tips, or is this something that is not possible?
It's definitely possible. I've run several systems this way; this is how linnet is set up (www.linnet.org) To run courier-imap's imapd/pop3d as that user, set TCPDOPTS="... -user=virtuser" in the imapd/pop3d config files. To run authdaemond and sqwebmaild as that user, set LOGGEROPTS="... -user=virtuser -droproot" in authdaemonrc and sqwebmaild respectively. Then you have to find the directory which includes authdaemon's socket (the directory which is set by --with-authdaemonvar) and chown it to your virtuser. If you built courier-authlib --with-mailuser=virtuser then this may not be necessary. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
