[vchkpw] Enable roaming users
I'm having problems with --enable-roaming as well. I have everything configured properly (pretty sure) and permissions correct (pretty sure again), and whenever a user logs in via pop, it does NOT attempt to update the open-smtp file, or the tcp.cdb, or anything. Nothing. Just like having it w/o --enable-roaming-users=y compiled. Been struggling with it for days, any ideas? Sorry to thread hijack.. As for your problem, you will have to recompile. At least the vauthpw binary, probably more than that. Just recompile, and manually overwrite the binaries (after backing up originals). Probably the least painful means of doing it. -Phil > - Original Message - > From: "Rodriguez Pierre" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 23, 2003 4:37 AM > Subject: [vchkpw] Enable roaming users > > > Hi ! > > Someone who's not working with me anymore installed > vpopmail 5.2.1 > I'm not sure he configured it with --enable-roaming-users=y. > > How can I see if that has been done ? > > Is it possible to configure it without making a new installation ? > > Thanks ! > > Regards, > > Pierre Rodriguez > > Conseil Général de Lot et Garonne > Systèmes d'information > >
Re: [vchkpw] Vpopmail & --enable-roaming-users=y
From: Phil Doroff [mailto:[EMAIL PROTECTED] >> >> Ok, noted. I deleted all the tmp files out, and watched as more were >> created (as users POP'ed in). They were owned by root, and all were 0 >> bytes. Just blank files. I then changed the inetd line to >> launch pop3d under vpopmail.vchkpw, and these files were still created, >> just with vpopmail.vchkpw ownership. Also of interest is that an >> open-smtp.lock file is created under whichever user pop3d is run under, >> and does not get cleared... hrm. >Leave it running as vpopmail, that's better. The lock file is normal. >What are the permissions on the files in that directory? Ok, set the inetd line to vpopmail.vchkpw The permissions are: drwxr-xr-x2 vpopmail vchkpw 748k Jun 26 17:20 . drwxr-xr-x8 root staff4.0k Apr 15 17:51 .. -rw-r--r--1 vpopmail vchkpw 25 Jun 18 04:21 inc_deps -rw-r--r--1 vpopmail vchkpw 32 Jun 18 04:21 lib_deps -rw-r--r--1 vpopmail vchkpw 0 Jun 26 11:52 open-smtp -rw-r--r--1 vpopmail vchkpw 0 Jun 26 17:20 open-smtp.lock -rw-r--r--1 vpopmail vchkpw 0 Jun 26 17:20 open-smtp.tmp.8893 -rw-r--r--1 vpopmail vchkpw180 Jun 18 04:28 tcp.smtp -rw-r--r--1 vpopmail vchkpw31k Jun 26 11:52 tcp.smtp.cdb and the directory itself: drwxr-xr-x2 vpopmail vchkpw 748k Jun 26 17:22 etc Needless to say, I'm still a bit baffled. :) Thanks much for all the help! -Phil
[vchkpw] Vpopmail & --enable-roaming-users=y
Ok.. I looked over my config again, just to be sure, and I cannot get roaming-users to work at all. A few items... 1. There are a _TON_ of open-smtp.tmp. files in the ~vpopmail/etc directory. These are owned by root, and running bin/clearopensmtp doesn't effect them at all. Both trying to run as root, and vpopmail users. Ideas? 2. When a user POP's in, vauthpw (or whatnot) doesn't even attempt to update ~vpopmail/etc/open-smtp or ~vpopmail/etc/tcp.smtp.cdb. I have tried a multitude of differing permissions just to be sure that this was not the issue. The current permissions are 0755 user vpopmail, group vchkpw. I have also tried globally making them writeable, just to be certain. No luck at all. Any ideas on how to get this to work? using vpopmail 5.2.1. My configure line was ---enable-roaming-users=y --enable-logging=v. A make install appears to work, as the datestamps of the files in ~vpopmail/bin change. I'm more than a little stumped now... -Phil
Re: [vchkpw] Vpopmail & --enable-roaming-users=y
>clearopensmtp doesn't touch the open-smtp.tmp files, it removes >expired addresses from open-smtp and rebuilds tcp.smtp.cdb. >The fact that you have a bunch of those files lying around >though means most likely that the tcp.smtp.cdb file can not >be rebuilt due to one or more things running as the wrong user. >chown everything to vpopmail:vchkpw, make sure your pop3 >software is running as vpopmail:vchkpw and then make sure >your clearopensmtp cron job runs the job as vpopmail. Ok, noted. I deleted all the tmp files out, and watched as more were created (as users POP'ed in). They were owned by root, and all were 0 bytes. Just blank files. I then changed the inetd line to launch pop3d under vpopmail.vchkpw, and these files were still created, just with vpopmail.vchkpw ownership. Also of interest is that an open-smtp.lock file is created under whichever user pop3d is run under, and does not get cleared... hrm. >What pop3 software are you using? If qmail-pop3d post your >run script for it, if courier, then the problem is courier >has disabled the roaming users functionality. As a temporary >fix, chown vchkpw vpopmail:vchkpw and then chmod 4755 vchkpw. >If that fixes it, you definitely have a daemon running as the >wrong user or something similar. Using qmail-pop3d out of inetd. The following line is what I currently have: (matches the docs) pop3 stream tcp nowait.300 root /var/qmail/bin/qmail-popup qmail-popup somehost.five-elements.com /home/vpopmail/bin/vchkpw /var/qmai l/bin/qmail-pop3d Maildir David