Re: [vchkpw] Re: Stupid roaming-users question

2006-08-28 Thread Bert JW Regeer


On Aug 28, 2006, at 11:56:03  MST, [EMAIL PROTECTED] wrote:


On Tue, 29 Aug 2006, Alex Borges wrote:


I hope its the question thats stupid. We regretfully have no
human-rights compatible fix for stupid users.


Sorry for the unwanted noise...in my rush to install a bazillion  
different
packages, it didn't occur to me that FreeBSD ports would default to  
what

looks like a non-standard location for the cdb file.

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
== 
===





man hier

It is not non-standard for FreeBSD packages. vpopmail get's installed  
to /usr/local/vpopmail. This is in accordance with man hier. All  
FreeBSD packages install into /usr/local. /home, or rather /usr/home  
(/home is  a symlink) is where user created files should live, not  
system libraries and binaries.



From man hier:

/usr
local/local executables, libraries, etc.  Also  
used as the
  default destination for the FreeBSD ports  
framework.
  Within local/, the general layout sketched  
out by
  hier for /usr should be used.  Exceptions  
are the
  man directory (directly under local/  
rather than

  under local/share/), ports documentation (in
  share/doc//), and /usr/local/etc  
(mimics

  /etc).

NOTES
 This manual page documents the default FreeBSD file system  
layout, but
 the actual hierarchy on a given system is defined at the system  
adminis-
 trator's discretion.  A well-maintained installation will  
include a cus-

 tomized version of this document.

Bert JW Regeer




smime.p7s
Description: S/MIME cryptographic signature


Re: [vchkpw] Re: Stupid roaming-users question

2006-08-28 Thread up
On Tue, 29 Aug 2006, Alex Borges wrote:

> I hope its the question thats stupid. We regretfully have no
> human-rights compatible fix for stupid users.

Sorry for the unwanted noise...in my rush to install a bazillion different
packages, it didn't occur to me that FreeBSD ports would default to what
looks like a non-standard location for the cdb file.

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=



Re: [vchkpw] Re: Stupid roaming-users question

2006-08-28 Thread Alex Borges
I hope its the question thats stupid. We regretfully have no 
human-rights compatible fix for stupid users.


Re: [vchkpw] Re: Stupid roaming-users question

2006-08-28 Thread up
On Mon, 28 Aug 2006 [EMAIL PROTECTED] wrote:

> On Mon, 28 Aug 2006 [EMAIL PROTECTED] wrote:
>
> > On Mon, 28 Aug 2006, Peter Palmreuther wrote:
> >
> > > Hello List,
> > >
> > > On Monday, August 28, 2006 at 5:04:23 PM up wrote:
> > >
> > > > I've configured this before, but I can't figure out why it isn't working
> > > > this time (new server).  I compiled vpopmail with roaming users, and 
> > > > it's
> > > > putting the open-smtp where it always has, under ~vpopmail/etc/.  In the
> > > > past, tcpserver always found it, AND the /etc/tcp.smtp.cdb file even
> > > > though it was invoked thusly:
> > >
> > > > -x/etc/tcp.smtp.cdb
> > >
> > > > How does one get tcpserver to recognise the rules in both files?
> > >
> > > Simple. Make /etc/tcp.smtp.cdb a symlink to ~vpopmail/etc/tcp.smtp.cdb.
> >
> > Sorry if I'm still confused...on the old server, I actually had simlinks
> > the other way around.  In ~vpopmail/etc/ I had simlinks to /etc/tcp.smtp
> > and /etc/tcp.smtp.cdb and it worked.  It doesn't on the new install.
> >
> > I tried reversing it the way you recommended, but it still doesn't work.
> > (chowned vpopmail all the files, although open_smtp always gets created as
> > root owned).
> >
> > I assume that somehow tcpserver either sees the open_smtp file when you do
> > this, of its contents get somehow included in the tcp.smtp file, but I'm
> > not seeing it...how does tcpserver know about the contents of the
> > open_smtp file?
>
> replying to my own post...I found that FreeBSD ports, where I installed it
> from, for some reason has some nonsensical defaults, such as:
>
> --enable-tcpserver-file=/usr/local/vpopmail/etc/tcp.smtp
>
> yet, I put in a symlink from /usr/local/vpopmail/etc to
> /home/vpopmail/etc, which I would have thought would have fixed this, but
> it didn't...

Please disregard...it did fix it, I just had to give vpopmail a minute to
update the tcp.cdb.

Sorry...

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=



Re: [vchkpw] Re: Stupid roaming-users question

2006-08-28 Thread up
On Mon, 28 Aug 2006 [EMAIL PROTECTED] wrote:

> On Mon, 28 Aug 2006, Peter Palmreuther wrote:
>
> > Hello List,
> >
> > On Monday, August 28, 2006 at 5:04:23 PM up wrote:
> >
> > > I've configured this before, but I can't figure out why it isn't working
> > > this time (new server).  I compiled vpopmail with roaming users, and it's
> > > putting the open-smtp where it always has, under ~vpopmail/etc/.  In the
> > > past, tcpserver always found it, AND the /etc/tcp.smtp.cdb file even
> > > though it was invoked thusly:
> >
> > > -x/etc/tcp.smtp.cdb
> >
> > > How does one get tcpserver to recognise the rules in both files?
> >
> > Simple. Make /etc/tcp.smtp.cdb a symlink to ~vpopmail/etc/tcp.smtp.cdb.
>
> Sorry if I'm still confused...on the old server, I actually had simlinks
> the other way around.  In ~vpopmail/etc/ I had simlinks to /etc/tcp.smtp
> and /etc/tcp.smtp.cdb and it worked.  It doesn't on the new install.
>
> I tried reversing it the way you recommended, but it still doesn't work.
> (chowned vpopmail all the files, although open_smtp always gets created as
> root owned).
>
> I assume that somehow tcpserver either sees the open_smtp file when you do
> this, of its contents get somehow included in the tcp.smtp file, but I'm
> not seeing it...how does tcpserver know about the contents of the
> open_smtp file?

replying to my own post...I found that FreeBSD ports, where I installed it
from, for some reason has some nonsensical defaults, such as:

--enable-tcpserver-file=/usr/local/vpopmail/etc/tcp.smtp

yet, I put in a symlink from /usr/local/vpopmail/etc to
/home/vpopmail/etc, which I would have thought would have fixed this, but
it didn't...

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=



Re: [vchkpw] Re: Stupid roaming-users question

2006-08-28 Thread up
On Mon, 28 Aug 2006, Peter Palmreuther wrote:

> Hello List,
>
> On Monday, August 28, 2006 at 5:04:23 PM up wrote:
>
> > I've configured this before, but I can't figure out why it isn't working
> > this time (new server).  I compiled vpopmail with roaming users, and it's
> > putting the open-smtp where it always has, under ~vpopmail/etc/.  In the
> > past, tcpserver always found it, AND the /etc/tcp.smtp.cdb file even
> > though it was invoked thusly:
>
> > -x/etc/tcp.smtp.cdb
>
> > How does one get tcpserver to recognise the rules in both files?
>
> Simple. Make /etc/tcp.smtp.cdb a symlink to ~vpopmail/etc/tcp.smtp.cdb.

Sorry if I'm still confused...on the old server, I actually had simlinks
the other way around.  In ~vpopmail/etc/ I had simlinks to /etc/tcp.smtp
and /etc/tcp.smtp.cdb and it worked.  It doesn't on the new install.

I tried reversing it the way you recommended, but it still doesn't work.
(chowned vpopmail all the files, although open_smtp always gets created as
root owned).

I assume that somehow tcpserver either sees the open_smtp file when you do
this, of its contents get somehow included in the tcp.smtp file, but I'm
not seeing it...how does tcpserver know about the contents of the
open_smtp file?

Thanks again...

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=




[vchkpw] Re: Stupid roaming-users question

2006-08-28 Thread Peter Palmreuther
Hello List,

On Monday, August 28, 2006 at 5:04:23 PM up wrote:

> I've configured this before, but I can't figure out why it isn't working
> this time (new server).  I compiled vpopmail with roaming users, and it's
> putting the open-smtp where it always has, under ~vpopmail/etc/.  In the
> past, tcpserver always found it, AND the /etc/tcp.smtp.cdb file even
> though it was invoked thusly:

> -x/etc/tcp.smtp.cdb

> How does one get tcpserver to recognise the rules in both files?

Simple. Make /etc/tcp.smtp.cdb a symlink to ~vpopmail/etc/tcp.smtp.cdb.
-- 
Best regards
Peter Palmreuther

"No Woody!, I said TUCK the kids in bed!" -Mia