Re: Roaming Users not working. open-smtp not updated.
On Wed, Nov 28, 2001 at 09:39:53PM -0600, Mate Wierdl wrote: > > On Wednesday, November 28, 2001, at 03:54 PM, Mate Wierdl wrote: > > I think it is not clear from the > > docs, but it seems roaming users can be used only if you run pop under > > tcpserver or equivalent (like courier's tcp server). > > What I wrote was completely idiotic. Because I meant to say "if you run qmail-smtpd under tcpserver or equivalent (like courier's tcp server)." Mate
Re: Roaming Users not working. open-smtp not updated.
On Wed, Nov 28, 2001 at 04:07:39PM -0600, Bill Shupp wrote: > On Wednesday, November 28, 2001, at 03:54 PM, Mate Wierdl wrote: > > > > tcp.smtp is used only by tcpserver. > > For smtp, it's read only. The pop server is the one that actually edits > open-smtp and runs tcprules. Somehow I assumed that the poster started qmail-smtpd also from xinetd. Why would you start pop under xinetd and smtpd under tcpserver? > > > I think it is not clear from the > > docs, but it seems roaming users can be used only if you run pop under > > tcpserver or equivalent (like courier's tcp server). > > If I had time, I'd do some testing, as this would be useful to know for > sure. I tend to think it's more of a permissions issue rather than a > daemon issue... > What I wrote was completely idiotic. > Doesn't vchkpw do a setuid/setgid before editing these files? I don't > recall... Seems like it wouldn't be an issue if this were the case. > So suppose I start the pop server under tcpserver using the script you posted in your previous message. This means tcpserver is run as the vpopmail user. How will then vpopmail be able to create, say, /etc/tcp.smtp.cdb? Afterall in most places /etc is not writable by the vpopmail user. Where is the suid root prog that does the writing? Mate
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 03:54 PM, Mate Wierdl wrote: > > tcp.smtp is used only by tcpserver. For smtp, it's read only. The pop server is the one that actually edits open-smtp and runs tcprules. > I think it is not clear from the > docs, but it seems roaming users can be used only if you run pop under > tcpserver or equivalent (like courier's tcp server). If I had time, I'd do some testing, as this would be useful to know for sure. I tend to think it's more of a permissions issue rather than a daemon issue... Doesn't vchkpw do a setuid/setgid before editing these files? I don't recall... Seems like it wouldn't be an issue if this were the case. Regards, Bill
Re: Roaming Users not working. open-smtp not updated.
On Wed, Nov 28, 2001 at 02:10:10PM -0600, [EMAIL PROTECTED] wrote: > Pop is running via xinetd a user vpopmail: > > cat /etc/xinetd.d/pop-3 > # Converted by inetdconvert > service pop-3 > { > disable = no > socket_type = stream > protocol= tcp > wait= no > user= vpopmail > server = /var/qmail/bin/qmail-popup > server_args = mail.merilex.net /home/vpopmail/bin/vchkpw >/var/qmail/bin/qmail-pop3d Maildir > } tcp.smtp is used only by tcpserver. I think it is not clear from the docs, but it seems roaming users can be used only if you run pop under tcpserver or equivalent (like courier's tcp server). Mate
Re: Roaming Users not working. open-smtp not updated.
I too would like to say thanks to Bill & company... Just sitting by the sidelines I figured it out. I hadnt realized that xinetd was the culprit. Thanks again. --Photocon Conrad Hunziker III www.nightskyent.com
Re: Roaming Users not working. open-smtp not updated.
> Here's my daemontools run file for pop: > > #!/bin/sh > > VPOPMAILUID=`id -u vpopmail` > VPOPMAILGID=`id -g vpopmail` > > exec /usr/local/bin/tcpserver -l 0 -R -H\ > -u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 pop-3 \ > /var/qmail/bin/qmail-popup yourdomain.com \ > /home/vpopmail/bin/vchkpw \ > /var/qmail/bin/qmail-pop3d Maildir 2>&1 Bill, Thanks again. I did notice this in my /var/log/qmail/pop3d/current file: This was probaly left over from xinetd... I'm almost there.. I hope. . @40003c0555c62171a734 alert: cannot start: qmail-send is already running @40003c0555c62171d22c alert: cannot start: qmail-send is already running @40003c0555c62171dde4 alert: cannot start: qmail-send is already running . -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 02:55 PM, Tren Blackburn wrote: > As I stated, read the INSTALL doc that comes with vpopmail. here's an > exerpt: > > 12. How to use vchkpw with qmail-pop3d server > > Here is a sample startup line for qmail-pop3d and vchkpw > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop-3 \ > /var/qmail/bin/qmail-popup your.domain.com \ > /home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d > Maildir > & > > If you want to authenticate against /etc/passwd do not use the > -u -g > options, since it would need to run as root. > > The documentation is quite detailed in vpopmail in my opinion. The above example is a simple tcpserver script. If you want to use daemontools, you can, but there's not an example of a pop3 run script in the INSTALL file. If you're familiar with daemontools, it's only slightly different that what's above, and you should be able to figure it out. Here's my daemontools run file for pop: #!/bin/sh VPOPMAILUID=`id -u vpopmail` VPOPMAILGID=`id -g vpopmail` exec /usr/local/bin/tcpserver -l 0 -R -H\ -u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 pop-3 \ /var/qmail/bin/qmail-popup yourdomain.com \ /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 2>&1 Regards, Bill
RE: Roaming Users not working. open-smtp not updated.
As I stated, read the INSTALL doc that comes with vpopmail. here's an exerpt: 12. How to use vchkpw with qmail-pop3d server Here is a sample startup line for qmail-pop3d and vchkpw env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop-3 \ /var/qmail/bin/qmail-popup your.domain.com \ /home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & If you want to authenticate against /etc/passwd do not use the -u -g options, since it would need to run as root. The documentation is quite detailed in vpopmail in my opinion. Regards, Tren. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 28, 2001 1:41 PM > To: Tren Blackburn > Subject: Re: Roaming Users not working. open-smtp not updated. > > > On Wed, Nov 28, 2001 at 01:20:32PM -0700, Tren Blackburn wrote: > > Look at the documentation contained both in vpopmail and on the cr.yp.to > > site. Everything you need is there. Pretty much just compile the > > daemontools, and then read the instructions in the INSTALL file > that comes > > with vpopmail to set it up. > > i already use tcpserver for qmail. Its just the qmail-pop3d that is being > xinetd'd.. I find tcpserver docs to be very sparse. > > -Phil Carinhas > -- > .. > | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | > | Fortuitous Technologies Inc. | http://fortuitous.com | > | Linux Consulting & Training | Tel : 1-512-467-2154| > `' >
Re: Roaming Users not working. open-smtp not updated.
On Wed, Nov 28, 2001 at 03:40:10PM -0500, Tim Hunter wrote: > Looks like there is no where that the tcp.smtp.cdb is being used. > install and use tcpserver. The docs say nothing about using that with pop3: From the INSTALL file: DO you have an example script that starts pop3/tcpserver/daemontools from /etc/init.d/xxx ? 12. How to use vchkpw with qmail-pop3d server Here is a sample startup line for qmail-pop3d and vchkpw env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop-3 \ /var/qmail/bin/qmail-popup your.domain.com \ /home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & If you want to authenticate against /etc/passwd do not use the -u -g options, since it would need to run as root. Tcpserver: Do I need to copy all the files in /service/qmail-smtp to /service/qmail-pop3 ? I dont see anywhere in the docs that explains how that works. -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
RE: Roaming Users not working. open-smtp not updated.
Looks like there is no where that the tcp.smtp.cdb is being used. install and use tcpserver. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 28, 2001 3:10 PM > To: Bill Shupp > Cc: [EMAIL PROTECTED] > Subject: Re: Roaming Users not working. open-smtp not updated. > > > > > -rw-r--r-- 1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp > > > -rw-r--r-- 1 vpopmail vchkpw 2142 Nov 28 13:40 tcp.smtp.cdb > > > > This looks ok. When you run clearopensmtp, does tcp.smtp.cdb get > > updated? And what user is your pop server running as? > > Yes, clearopensmtp updates tcp.smtp.cdb and open-smtp. > But open-smtp is always empty. > > Pop is running via xinetd a user vpopmail: > > cat /etc/xinetd.d/pop-3 > # Converted by inetdconvert > service pop-3 > { > disable = no > socket_type = stream > protocol= tcp > wait= no > user= vpopmail > server = /var/qmail/bin/qmail-popup > server_args = mail.merilex.net > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir > } > > I am getting some errors in the logs: > > tail /var/log/messages : > Nov 28 13:44:06 mail xinetd[5136]: Bad line received from > identity server at 66.25.128.203: 62412 , 110 : ERROR : UNKNOWN-ERROR > Nov 28 14:05:04 mail xinetd[5185]: Bad line received from > identity server at 66.25.128.203: 62415 , 110 : ERROR : UNKNOWN-ERROR > > Thanks again, > > -Phil Carinhas > -- > .. > | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | > | Fortuitous Technologies Inc. | http://fortuitous.com | > | Linux Consulting & Training | Tel : 1-512-467-2154| > `' >
RE: Roaming Users not working. open-smtp not updated.
First recommendation from me would be drop xinetd and install tcpserver. Regards, Tren. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 28, 2001 1:10 PM > To: Bill Shupp > Cc: [EMAIL PROTECTED] > Subject: Re: Roaming Users not working. open-smtp not updated. > > > > > -rw-r--r-- 1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp > > > -rw-r--r-- 1 vpopmail vchkpw 2142 Nov 28 13:40 tcp.smtp.cdb > > > > This looks ok. When you run clearopensmtp, does tcp.smtp.cdb get > > updated? And what user is your pop server running as? > > Yes, clearopensmtp updates tcp.smtp.cdb and open-smtp. > But open-smtp is always empty. > > Pop is running via xinetd a user vpopmail: > > cat /etc/xinetd.d/pop-3 > # Converted by inetdconvert > service pop-3 > { > disable = no > socket_type = stream > protocol= tcp > wait= no > user= vpopmail > server = /var/qmail/bin/qmail-popup > server_args = mail.merilex.net > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir > } > > I am getting some errors in the logs: > > tail /var/log/messages : > Nov 28 13:44:06 mail xinetd[5136]: Bad line received from > identity server at 66.25.128.203: 62412 , 110 : ERROR : UNKNOWN-ERROR > Nov 28 14:05:04 mail xinetd[5185]: Bad line received from > identity server at 66.25.128.203: 62415 , 110 : ERROR : UNKNOWN-ERROR > > Thanks again, > > -Phil Carinhas > -- > .. > | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | > | Fortuitous Technologies Inc. | http://fortuitous.com | > | Linux Consulting & Training | Tel : 1-512-467-2154| > `' >
Re: Roaming Users not working. open-smtp not updated.
> > -rw-r--r-- 1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp > > -rw-r--r-- 1 vpopmail vchkpw 2142 Nov 28 13:40 tcp.smtp.cdb > > This looks ok. When you run clearopensmtp, does tcp.smtp.cdb get > updated? And what user is your pop server running as? Yes, clearopensmtp updates tcp.smtp.cdb and open-smtp. But open-smtp is always empty. Pop is running via xinetd a user vpopmail: cat /etc/xinetd.d/pop-3 # Converted by inetdconvert service pop-3 { disable = no socket_type = stream protocol= tcp wait= no user= vpopmail server = /var/qmail/bin/qmail-popup server_args = mail.merilex.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir } I am getting some errors in the logs: tail /var/log/messages : Nov 28 13:44:06 mail xinetd[5136]: Bad line received from identity server at 66.25.128.203: 62412 , 110 : ERROR : UNKNOWN-ERROR Nov 28 14:05:04 mail xinetd[5185]: Bad line received from identity server at 66.25.128.203: 62415 , 110 : ERROR : UNKNOWN-ERROR Thanks again, -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 01:46 PM, [EMAIL PROTECTED] wrote: > > Well, Im lost. Here is perms on the differnt folders in /home/vpopmail: > > /home/vpopmail/etc]: d > total 16 > -rw-r--r-- 1 vpopmail vchkpw 25 Nov 28 09:32 inc_deps > -rw-r--r-- 1 vpopmail vchkpw 32 Nov 28 09:32 lib_deps > -rw-rw-rw- 1 vpopmail vchkpw 0 Nov 28 13:40 open-smtp > -rw-r--r-- 1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp > -rw-r--r-- 1 vpopmail vchkpw 2142 Nov 28 13:40 tcp.smtp.cdb This looks ok. When you run clearopensmtp, does tcp.smtp.cdb get updated? And what user is your pop server running as? -Bill
Re: Roaming Users not working. open-smtp not updated.
> > > > open-smtp.tmp.4624 > > > > open-smtp.tmp.4626 > > > > open-smtp.tmp.4628 > > > > > > I've seen that in older 4.10 and 4.9 version of vpopmail. > > > We traced it down to tcprules not completing correctly and > > > hence not removing the temporary file. > > > > Well, you have seen most of my setup. Any ideas on what to check, and > > what is going wrong? Do i need to replace tcpserver and friends? What? > > Sounds like Bill had the answer. > It's probably a permission issue. Well, Im lost. Here is perms on the differnt folders in /home/vpopmail: /home/vpopmail]: d total 5 drwxr-xr-x 2 vpopmail vchkpw515 Nov 28 09:33 bin drwxr-xr-x 4 vpopmail vchkpw 83 Oct 5 11:30 doc drwx-- 20 vpopmail vchkpw981 Nov 27 17:14 domains drwxr-xr-x 2 vpopmail vchkpw160 Nov 28 13:41 etc drwxr-xr-x 2 vpopmail vchkpw141 Oct 5 11:30 include drwx-- 2 vpopmail vchkpw 64 Oct 5 11:30 lib drwx-- 2 vpopmail vchkpw 35 Oct 5 12:01 tmp drwx-- 2 vpopmail vchkpw 64 Oct 5 12:20 users /home/vpopmail/etc]: d total 16 -rw-r--r-- 1 vpopmail vchkpw 25 Nov 28 09:32 inc_deps -rw-r--r-- 1 vpopmail vchkpw 32 Nov 28 09:32 lib_deps -rw-rw-rw- 1 vpopmail vchkpw 0 Nov 28 13:40 open-smtp -rw-r--r-- 1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp -rw-r--r-- 1 vpopmail vchkpw 2142 Nov 28 13:40 tcp.smtp.cdb -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
Re: Roaming Users not working. open-smtp not updated.
On Wed, Nov 28, 2001 at 01:14:40PM -0600, Bill Shupp wrote: > On Wednesday, November 28, 2001, at 01:03 PM, [EMAIL PROTECTED] wrote: > > > > Also, what do I do with all the lock files in /home/vpopmail/etc/ ? > > ex: > > ... > > open-smtp.tmp.4624 > > open-smtp.tmp.4626 > > open-smtp.tmp.4628 > > Delete them. THIS is related to your problem. I found the same thing > with courier-imap and vchkpw were both trying to update the open-smtp > file using different permissions. > > -Bill Here is part of pstree output: See anything fishy? |-svscanboot) /command/svscanboot | |-readproctitle) service errors: ... | `-svscan) /service | |-supervise) qmail-smtpd | | `-tcpserver) -v -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -u 5 02 -g 501 0 smtp /var/qmail/bin/qmail-smtpd | |-supervise) log | | `-multilog) t /var/log/qmail/qmail-smtpd | |-supervise) qmail-send | | `-qmail-send) | | |-qmail-clean) | | |-qmail-lspawn) ./Maildir/ | | `-qmail-rspawn) | `-supervise) log | `-multilog) t /var/log/qmail/qmail-send |-syslogd) -m 0 `-xinetd) -reuse `-xinetd) -reuse -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
Re: Roaming Users not working. open-smtp not updated.
On Wed, 2001-11-28 at 13:24, [EMAIL PROTECTED] wrote: > > > > > > Also, what do I do with all the lock files in /home/vpopmail/etc/ ? > > > ex: > > > ... > > > open-smtp.tmp.4624 > > > open-smtp.tmp.4626 > > > open-smtp.tmp.4628 > > > > I've seen that in older 4.10 and 4.9 version of vpopmail. > > We traced it down to tcprules not completing correctly and > > hence not removing the temporary file. > > Well, you have seen most of my setup. Any ideas on what to check, and > what is going wrong? Do i need to replace tcpserver and friends? What? Sounds like Bill had the answer. It's probably a permission issue.
Re: Roaming Users not working. open-smtp not updated.
> > > > Also, what do I do with all the lock files in /home/vpopmail/etc/ ? > > ex: > > ... > > open-smtp.tmp.4624 > > open-smtp.tmp.4626 > > open-smtp.tmp.4628 > > I've seen that in older 4.10 and 4.9 version of vpopmail. > We traced it down to tcprules not completing correctly and > hence not removing the temporary file. Well, you have seen most of my setup. Any ideas on what to check, and what is going wrong? Do i need to replace tcpserver and friends? What? -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 01:03 PM, [EMAIL PROTECTED] wrote: > > Also, what do I do with all the lock files in /home/vpopmail/etc/ ? > ex: > ... > open-smtp.tmp.4624 > open-smtp.tmp.4626 > open-smtp.tmp.4628 Delete them. THIS is related to your problem. I found the same thing with courier-imap and vchkpw were both trying to update the open-smtp file using different permissions. -Bill
Re: Roaming Users not working. open-smtp not updated.
On Wed, 2001-11-28 at 13:03, [EMAIL PROTECTED] wrote: > > On Wednesday, November 28, 2001, at 12:02 PM, [EMAIL PROTECTED] wrote: > > > > > On Wed, Nov 28, 2001 at 11:32:49AM -0600, Bill Shupp wrote: > > >> On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote: > > >> > > >>> open-smtp does not update, even with vpopmail-5.0 > > >>> Roaming users dont seem to work. What should I check? Where should I > > >>> look? > > > > > >> What are the permissions on open-smtp? > > > -rw-rw-rw- 1 vpopmail vchkpw 0 Nov 28 11:40 open-smtp > > >> Is it editable by the user that your pop server runs as? > > > Apparently yes. > > >> Also, did you compile vpopmail with roamin-users? > > > Yes > > >> If so, is your tcp.smtp file in an unusual place? > Typo: > its in /home/vpopmail/etc/tcp.smtp: > > Should be /home/vpopmail/etc/tcp.smtp > it is.. > > Also, what do I do with all the lock files in /home/vpopmail/etc/ ? > ex: > ... > open-smtp.tmp.4624 > open-smtp.tmp.4626 > open-smtp.tmp.4628 I've seen that in older 4.10 and 4.9 version of vpopmail. We traced it down to tcprules not completing correctly and hence not removing the temporary file. Ken
Re: Roaming Users not working. open-smtp not updated.
> On Wednesday, November 28, 2001, at 12:02 PM, [EMAIL PROTECTED] wrote: > > > On Wed, Nov 28, 2001 at 11:32:49AM -0600, Bill Shupp wrote: > >> On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote: > >> > >>> open-smtp does not update, even with vpopmail-5.0 > >>> Roaming users dont seem to work. What should I check? Where should I > >>> look? > > > >> What are the permissions on open-smtp? > > -rw-rw-rw- 1 vpopmail vchkpw 0 Nov 28 11:40 open-smtp > >> Is it editable by the user that your pop server runs as? > > Apparently yes. > >> Also, did you compile vpopmail with roamin-users? > > Yes > >> If so, is your tcp.smtp file in an unusual place? Typo: its in /home/vpopmail/etc/tcp.smtp: > Should be /home/vpopmail/etc/tcp.smtp it is.. Also, what do I do with all the lock files in /home/vpopmail/etc/ ? ex: ... open-smtp.tmp.4624 open-smtp.tmp.4626 open-smtp.tmp.4628 -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 12:51 PM, [EMAIL PROTECTED] wrote: > On Wed, Nov 28, 2001 at 12:06:14PM -0600, Bill Shupp wrote: >> Should be /home/vpopmail/etc/tcp.smtp > > Sorry, it actually is.. forgot the etc/ > -Phil Carinhas Well, I'm not sure what the problem is. If you run all your domains under vpopmail/vchkpw, I recommend running your pop server as that user (and couriertcpd if you run imap with roaming users). And just keep open-smtp, tcp.smtp and tcp.smtp.cdb in ~vpopmail/etc, and make sure all those files are owned by vpopmail.vchkpw. Should be as simple as that. Cheers, Bill
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 12:02 PM, [EMAIL PROTECTED] wrote: > On Wed, Nov 28, 2001 at 11:32:49AM -0600, Bill Shupp wrote: >> On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote: >> >>> open-smtp does not update, even with vpopmail-5.0 >>> Roaming users dont seem to work. What should I check? Where should I >>> look? > >> What are the permissions on open-smtp? > -rw-rw-rw- 1 vpopmail vchkpw 0 Nov 28 11:40 open-smtp >> Is it editable by the user that your pop server runs as? > Apparently yes. >> Also, did you compile vpopmail with roamin-users? > Yes >> If so, is your tcp.smtp file in an unusual place? > its in /home/vpopmail/tcp.smtp: Should be /home/vpopmail/etc/tcp.smtp -Bill
Re: Roaming Users not working. open-smtp not updated.
At 11:49 AM 11/28/01 -0600, Bill Shupp wrote: >On Wednesday, November 28, 2001, at 11:48 AM, Photocon wrote: > >>I too am having the same problem, and in looking at the permissions I see >>that open-smtp in ~/vpopmail/etc/ is owned by root and is a 0 byte file ( >>I suspect because its owned by root). In addition, lastauth in each pop >>users' directory is also owned by root. Chowning these doesn't make a >>difference, as they revert back to root (along with any open-smtp.tmp >>file). What's going on? > >Are you running courier-imap with roaming users as well? Sorry - forgot to include my specs Im running vpopmail5.0 (upgrade from 4.9.10) with qmail installed as described in LWQ. I am not running imap. I also had the same problem with 4.9.10 I do have the tcp.smtp file in /etc/tcp.smtp and that does update every hour (from the crontab), but I dont see attempts to update that either (probably because open-smtp is unreadable?). Vpopmail was configured with --enable-tcp.smtp and I have verified that it is looking at /etc (not ~/vpopmail/etc/ ) in config.h. --Photocon Conrad Hunziker III www.nightskyent.com
Re: Roaming Users not working. open-smtp not updated.
On Wed, Nov 28, 2001 at 11:32:49AM -0600, Bill Shupp wrote: > On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote: > > > open-smtp does not update, even with vpopmail-5.0 > > Roaming users dont seem to work. What should I check? Where should I > > look? > What are the permissions on open-smtp? -rw-rw-rw- 1 vpopmail vchkpw 0 Nov 28 11:40 open-smtp > Is it editable by the user that your pop server runs as? Apparently yes. > Also, did you compile vpopmail with roamin-users? Yes > If so, is your tcp.smtp file in an unusual place? its in /home/vpopmail/tcp.smtp: -rw-r--r-- 1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp I did NOT modify the default location in ./configure BTW, I did put the clearopensmtp in root's crontab: crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (crontab.vpopmail installed on Tue Nov 27 16:54:34 2001) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) 40 * * * * /home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null -Phil Carinhas -- .. | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Consulting & Training | Tel : 1-512-467-2154| `'
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 11:48 AM, Photocon wrote: > I too am having the same problem, and in looking at the permissions I > see that open-smtp in ~/vpopmail/etc/ is owned by root and is a 0 byte > file ( I suspect because its owned by root). In addition, lastauth in > each pop users' directory is also owned by root. Chowning these doesn't > make a difference, as they revert back to root (along with any > open-smtp.tmp file). What's going on? Are you running courier-imap with roaming users as well? -Bill
Re: Roaming Users not working. open-smtp not updated.
I too am having the same problem, and in looking at the permissions I see that open-smtp in ~/vpopmail/etc/ is owned by root and is a 0 byte file ( I suspect because its owned by root). In addition, lastauth in each pop users' directory is also owned by root. Chowning these doesn't make a difference, as they revert back to root (along with any open-smtp.tmp file). What's going on? At 11:32 AM 11/28/01 -0600, you wrote: >On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote: > >>open-smtp does not update, even with vpopmail-5.0 >>Roaming users dont seem to work. What should I check? Where should I look? >>I tested by using fetchmail from my office network from behind a firewall. >> Please help, >> Thanks, > >What are the permissions on open-smtp? Is it editable by the user that >your pop server runs as? Also, did you compile vpopmail with >roamin-users? If so, is your tcp.smtp file in an unusual place? > >Regards, > >Bill Shupp > --Photocon Conrad Hunziker III www.nightskyent.com
Re: Roaming Users not working. open-smtp not updated.
On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote: > open-smtp does not update, even with vpopmail-5.0 > Roaming users dont seem to work. What should I check? Where should I > look? > I tested by using fetchmail from my office network from behind a > firewall. > Please help, > Thanks, What are the permissions on open-smtp? Is it editable by the user that your pop server runs as? Also, did you compile vpopmail with roamin-users? If so, is your tcp.smtp file in an unusual place? Regards, Bill Shupp
Re: Roaming Users not working. open-smtp not updated.
This may be a stupid question, but... did you setup a crontab to run clearopensmtp to recompile the tcprules? [EMAIL PROTECTED] wrote: >open-smtp does not update, even with vpopmail-5.0 >Roaming users dont seem to work. What should I check? Where should I look? >I tested by using fetchmail from my office network from behind a firewall. > Please help, > Thanks, > >-Phil >--- > Background: Running > >OS: Conectiva Linux, Kernel 2.4.5-9cl >vpopmail 5.0 (configured roaming users), >qmail-1.03 >ucspi-tcp-0.88 >daemontools-0.76 >vpopmail-5.0 > > >=== >== Some settings: = >=== ># cat /home/vpopomail/tcp.smtp (modified) >127.0.0.:allow,RELAYCLIENT="" >6.9.25.:allow,RELAYCLIENT="" > ># cat /etc/xinetd.d/pop-3 >service pop-3 >{ >disable = no >socket_type = stream >protocol= tcp >wait= no >user= vpopmail # Required for lock file ownership. >server = /var/qmail/bin/qmail-popup >server_args = mail.merilex.net /home/vpopmail/bin/vchkpw >/var/qmail/bin/qmail-pop3d Maildir >} > >Using daemontools: > ># cat /service/qmail-smtpd/run >=== >#!/bin/sh >QMAILDUID=`id -u qmaild` >NOFILESGID=`id -g qmaild` >exec /usr/local/bin/softlimit -m 200 \ >/usr/local/bin/tcpserver -v -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb \ >-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 >=== > >-Phil Carinhas >-- > .. > | Dr. Philip A. Carinhas | [EMAIL PROTECTED] | > | Fortuitous Technologies Inc. | http://fortuitous.com | > | Linux Consulting & Training | Tel : 1-512-467-2154| > `' >