Re: [courier-users] [solved] Failed to connect to socket /tmp/fam--
On 04/23/2013 10:19 AM, Zenon Panoussis wrote: - Install nss-pam-ldapd (on redhats, probably libnss-ldap on debians) It is strongly advised that you use sssd, not nss-pam-ldapd. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] [solved] Failed to connect to socket /tmp/fam--
Zenon Panoussis writes: Classic problem, it gave me a lot of grief and it's not the first time it did. Posting the solution so that I know where to find it next time and it might help others in the meanwhile. IMAP_USELOCKS=1 IMAP_ENHANCEDIDLE=1 Apr 23 18:32:04 node01 imapd-ssl: Failed to connect to socket /tmp/fam-- Apr 23 18:32:04 node01 imapd-ssl: Failed to create cache file: maildirwatch (user@domain) ps -A |grep gam |grep -v grep 21164 ?00:00:00 gam_server The users are in LDAP, they all have different uidNumber:gidNumber and imapd spawns an instance under each user's uidNumber. Gamin however requires the LDAP users to be visible to the system, and mine were not. Ok, so basically the IMAP server was getting started under a userid that's not known to the system. Normally, when use LDAP, MySQL, or some other non-system module, with courier-authlib, they're set up to return the same userid for all accounts, which is also listed in passwd. That should work just fine, too. pgpEx4g1GyIVd.pgp Description: PGP signature -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] [solved] Failed to connect to socket /tmp/fam--
On 04/24/2013 01:00 PM, Sam Varshavchik wrote: The users are in LDAP, they all have different uidNumber:gidNumber and imapd spawns an instance under each user's uidNumber. Gamin however requires the LDAP users to be visible to the system, and mine were not. Ok, so basically the IMAP server was getting started under a userid that's not known to the system. Yes, sort of. The first imapd process is started as root by /etc/rc.d/init.d/imapd and then it spawns children for every user with an UID other than 0. Normally, when use LDAP, MySQL, or some other non-system module, with courier-authlib, they're set up to return the same userid for all accounts, which is also listed in passwd. That should work just fine, too. It does, but placing all users under the same UID can only be done on a pure vmail system with no other access for the users. Then again, on such a system userdb would be a fully sufficient solution and LDAP cousins would be rather an overkill. On more complex systems where users have access to more services than just mail, LDAP Co make sense but a single UID for all users does not. That's where I typically run into the gamin problem and the frustration sets in of users reporting error messages and logs filling up. Speaking about which, there is a short but very important notice on the gamin homepage: By default gamin revert to using polling for all paths matching /mnt/* or /media/* on Linux. Redhat systems do not provide an /etc/gamin/gaminrc file by default and vmail directories are seldom placed on /mnt/ or /media/, hence this is yet another trap that must be avoided: http://people.gnome.org/~veillard/gamin/config.html Need to write a configuration file. Z -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users