Re: [vchkpw] vpopmail 5.5 experiences during configure and install

2009-04-27 Thread Wouter van der Schagt

Don't set a domain quota and it won't enforce one.  Just an FYI.


Great thanks. That could be usefull :) Is it off (as in not enforced) by
default or do i need to specify a setting.


The issue will be resolved with a linker flag which I accidentally did not
re-implement when re-writing parts of the build system.


Alright, no biggie then

I'll need an error, or some sort of other info other than 'did not work' 
:)
Please let me know any issues you come across.  5.5 will become the 
development

version soon.


Upon further investigation it appears that allthough the vadddomain command
didnt create an error, it didnt create an entry in any database either. I 
tested the
authentication as it is in /etc/vpopmail/vpopmail.mysql manually and that 
worked.

mysql -uuser -ppassword -Ddatabase;

Woops!  Must be some issue with the FHS compliance pathing.  I'll look 
into it.


For now, do i copy the files into /etc/ or leave them where they are?

I have it running on several large production servers.  If there's 
anything that
should be stable, it should be that daemon.  Several months of development 
and testing

went into that code.


Great, im really curious about this daemon, at the moment we provide this 
with
a realtime du -sm * through a socketserver, it is horribly slow on full 
mailboxes :)


Sincerely,
- Wouter van der Schagt 



!DSPAM:49f5ef1832681164811771!



Re: [vchkpw] vpopmail 5.5 experiences during configure and install

2009-04-27 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wouter van der Schagt wrote:
 Don't set a domain quota and it won't enforce one.  Just an FYI.
 
 Great thanks. That could be usefull :) Is it off (as in not enforced) by
 default or do i need to specify a setting.

It's like any other quota.  Unless you set one, there isn't one (NOQUOTA).

 Upon further investigation it appears that allthough the vadddomain command
 didnt create an error, it didnt create an entry in any database either.
 I tested the
 authentication as it is in /etc/vpopmail/vpopmail.mysql manually and
 that worked.
 mysql -uuser -ppassword -Ddatabase;

Eh.  Did you install the MySQL backend module?

 For now, do i copy the files into /etc/ or leave them where they are?

It looks like it's going to use that alternate path whether you like it
or not.  It's not something you can just edit a single file.  Many files contain
that incorrect path now.

 Great, im really curious about this daemon, at the moment we provide
 this with
 a realtime du -sm * through a socketserver, it is horribly slow on full
 mailboxes :)

You will notice that many of 5.5's binaries use the daemon.  vuserinfo, 
vdominfo,
vdelivermail, vchkpw, etc.

It will be *a lot* faster than a du.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn18MUACgkQ6QgvSNlBT3BS5QCeLcE3jwTlGYwEjspKStB7iF+9
U/UAn3Abxxj5aIKf9yR+Gz78+8WG6X1H
=FAey
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail 5.5 experiences during configure and install

2009-04-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wouter van der Schagt wrote:
 1) A ./configure without any additional options gives no warnings,
 however when specifying --enable-roaming-users I get the following error
 messages when the relay file is in /etc/tcp.smtp and the .cdb counterpart.
 
 configure: WARNING: Unable to find your tcpserver relay file.
 configure: WARNING: Creating /home/vpopmail/etc/tcp.smtp
 
 Has this behavior changed since vpopmail 5.4.25?

Yes, but it should have detected /etc/tcp.smtp.  I will look into this when 
time permits.

 2) When configuring with   --enable-domain-quotas=n , the output at the
 end of the configure reveals quotes as turned on in the following line:
 
 domain quotas = ON  --enable-domainquotas (default)
 
 Is this intended behavior or is my previous option false?

I will look into this.  Any reason for disabling domain quotas?

 3) After building vpopmail 5.5 and the mysql backend .. without errors
 (configure, make, make install). I get the following error message when
 executing :
 
 /home/vpopmail/bin/vadddomain domain.com test
 
 /home/vpopmail/bin/vadddomain: error while loading shared libraries:
 libvpopmail.so: cannot open shared object file: No such file or directory

Make sure ~vpopmail/lib is in /etc/ld.so.conf and run /sbin/ldconfig

 4) The vusaged. I cannot get it installed / configured. The INSTALL says
 to edit the config files in step 3
 
  # vi /home/vpopmail/etc/vusaged.conf
  # vi /home/vpopmail/etc/vusagec.conf
 
 But the second config file does not exist.

Did you run 'make install'?  It should have copied it from the source directory.

 5) Continuing then to step 4 of vusagd install requires a chmod 755
 /etc/init.d/vusagd to permit execution. This is not in the INSTALL file,
 perhaps it can be added. It won't work without it.

Noted.

 6) The output of /sbin/chkconfig --add vusaged and /sbin/chkconfig
 vusaged on is (respectively)
 
 insserv: warning: script 'K01vusaged' missing LSB tags and overrides
 insserv: warning: script 'vusaged' missing LSB tags and overrides
 insserv: warning: script 'rc.vusaged' missing LSB tags and overrides
 insserv: warning: current start runlevel(s) (0) of script `halt'
 overwrites defaults (empty).
 insserv: warning: current start runlevel(s) (0 6) of script `sendsigs'
 overwrites defaults (empty).
 insserv: warning: current start runlevel(s) (6) of script `reboot'
 overwrites defaults (empty).
 insserv: warning: current start runlevel(s) (0 6) of script
 `umountnfs.sh' overwrites defaults (empty).
 insserv: warning: current start runlevel(s) (0 6) of script `umountroot'
 overwrites defaults (empty).
 insserv: warning: current start runlevel(s) (0 6) of script `umountfs'
 overwrites defaults (empty).
 vusaged   0:off  1:off  2:on   3:on   4:on   5:on   6:off
 
 and
 
 insserv: warning: script 'K01vusaged' missing LSB tags and overrides
 insserv: warning: script 'vusaged' missing LSB tags and overrides
 insserv: warning: script 'rc.vusaged' missing LSB tags and overrides
 
 Some are not relevant of course, but some are. How about adding the LSB
 tags and overrides?

LSB tags?


 7) Trying to start /etc/init.d/vusaged start results in failed.
 Starting it manually results in the same:
 
 /home/vpopmail/bin/vusaged: error while loading shared libraries:
 libvpopmail.so: cannot open shared object file: No such file or directory
 
 Eventhough the libdir according to the configure output seems to be
 correct.

Same as above for ldconfig.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknyBMIACgkQ6QgvSNlBT3C36ACfTI/ttOeiPT6c1d5zVPLtrINZ
VpIAn3zwLNTl0QQe2N3OX9kdbJlCN3ud
=dzaR
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail 5.5 experiences during configure and install

2009-04-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wouter van der Schagt wrote:
 2) When configuring with   --enable-domain-quotas=n , the output at the
 end of the configure reveals quotes as turned on in the following line:
 
 domain quotas = ON  --enable-domainquotas (default)

..er, it's --enable-domainquotas not --enable-domain-quotas
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknyBQwACgkQ6QgvSNlBT3COrwCaA4ZLUUNiUJFr99alz0+SKOJB
HlYAoIQFJSiGev47O15FxkoS/6swbFbp
=dFXW
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail 5.5 experiences during configure and install

2009-04-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harm van Tilborg wrote:
 Why not put it all in a directory called /etc/tcpserver. Since I'm not
 only ACL'ing SMTP, also POP, IMAP, vpopmaild, etc. etc.
 
 So like /etc/tcpserver/smtp with the plain rules, and
 /etc/tcpserver/smtp.cdb with the compile rules?

There have been many past discussions about this, and I'd rather not rehash
it all.  Essentially, if you want roaming users, that's where it goes for now. 
:)

 Linux Standard Base, I think Debian introduced (enabled) this in Lenny.
 I though it's just making some remarks about your init.d script in the
 script's header.
 
 http://www.linuxfoundation.org/collaborate/workgroups/lsb

Thanks!
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknyDncACgkQ6QgvSNlBT3DjsgCfSSZV5whaO9/cl8DDjTtYbu66
VjMAnRHwN/rr4D/UlHPhZDZ2ju9/GtI4
=CqAA
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail 5.5 experiences during configure and install

2009-04-24 Thread Wouter van der Schagt

Thank you for your quick reply,


..er, it's --enable-domainquotas not --enable-domain-quotas


Yes, and they didnt work in versions 5.4.25 or below, all relevant code as i 
remember now was commented out so any configure options didnt have any 
effect. My badignore the question.


As for the reason of turning it off...at the moment we only work with 
mailbox limits. and we dont want mailboxes to limit eachother because some 
clients have a client per mailbox. So that wouldn't be fair to their other 
clients.


---

/sbin/ldconfig solved the shared object error message. Is this going to 
change in future versions or is this manual command going to be part of the 
installation procedure?


After changing this, adding a domain (vadddomain) worked.. vdeldomain, 
however did not. Not sure why yet, will get back to you, im guessing however 
it is a misconfigured database user.


---


 # vi /home/vpopmail/etc/vusaged.conf
 # vi /home/vpopmail/etc/vusagec.conf


As for this missing config file. Yes, I ran make install. I now see they 
are both in /home/vpopmail/etc/vpopmail/ and not in /home/vpopmail/etc/ is 
this intended? or is this a typo in the INSTALL file or are they placed in 
the wrong directory ?


/etc/init.d/vusagd did start however, i am going to experiment with it and 
see how it performs.


---

As for the LSB (Linux Standard Base) tags..I think the implementation is 
relatively new. More information is here: 
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/tocsysinit.html


---

Sincerely,
- Wouter van der Schagt 



!DSPAM:49f20d1432683557910164!



Re: [vchkpw] vpopmail 5.5 experiences during configure and install

2009-04-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wouter van der Schagt wrote:
 Thank you for your quick reply,
 
 ..er, it's --enable-domainquotas not --enable-domain-quotas
 
 Yes, and they didnt work in versions 5.4.25 or below, all relevant code
 as i remember now was commented out so any configure options didnt have
 any effect. My badignore the question.

Right, but 5.5 addresses those issues and fixes them. :)

 As for the reason of turning it off...at the moment we only work with
 mailbox limits. and we dont want mailboxes to limit eachother because
 some clients have a client per mailbox. So that wouldn't be fair to
 their other clients.

Don't set a domain quota and it won't enforce one.  Just an FYI.

 /sbin/ldconfig solved the shared object error message. Is this going to
 change in future versions or is this manual command going to be part of
 the installation procedure?

The issue will be resolved with a linker flag which I accidentally did not
re-implement when re-writing parts of the build system.

 After changing this, adding a domain (vadddomain) worked.. vdeldomain,
 however did not. Not sure why yet, will get back to you, im guessing
 however it is a misconfigured database user.

I'll need an error, or some sort of other info other than 'did not work' :)
Please let me know any issues you come across.  5.5 will become the development
version soon.

  # vi /home/vpopmail/etc/vusaged.conf
  # vi /home/vpopmail/etc/vusagec.conf
 
 As for this missing config file. Yes, I ran make install. I now see
 they are both in /home/vpopmail/etc/vpopmail/ and not in
 /home/vpopmail/etc/ is this intended? or is this a typo in the INSTALL
 file or are they placed in the wrong directory ?

Woops!  Must be some issue with the FHS compliance pathing.  I'll look into it.

 /etc/init.d/vusagd did start however, i am going to experiment with it
 and see how it performs.

I have it running on several large production servers.  If there's anything that
should be stable, it should be that daemon.  Several months of development and 
testing
went into that code.

 As for the LSB (Linux Standard Base) tags..I think the implementation is
 relatively new. More information is here:
 http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/tocsysinit.html

I will look at this.
Thanks!
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknyDgcACgkQ6QgvSNlBT3CvrgCfYn8QO3HklO0Iwj3DXcSIuWkW
388AoIVxXvGVCuvmEmf12vMb7oJjolMH
=QHsp
-END PGP SIGNATURE-