Hi,

yesterday i upgraded vpopmail 5.4.17 to .28. Was not very easy, i ran into 
several problems...

my setup: debian etch, 32bit, vpopmail  with cdb, no sql (details on 
https://crazylinux.de/Vpopmail
and http://crazylinux.de/Perfect_email_system)

all my users should have a quota of 500MB or 1GB (me ;-).


just after make install-strip, i got this error

2009-09-07 00:05:03.607769500 delivery 5526: deferral:
client_connect:_warning:_config_begin_failed/Aack,_child_crashed._(#4.3.0)/ (i 
think this is already
fixed in svn)

first i copied the old bin-dir from .17 to /var/vpopmail, but after some 
debugging, i found out,
that i have to create a vusagec.conf. this file was not included in the dl from 
sf, only
vusaged.conf, but i found it in 5.4.24-rc1.tgz.

after i created this file i got this:

2009-09-07 02:24:52.042293500 delivery 5596: failure:
Message_rejected._Not_enough_storage_space_in_user's_mailbox_to_accept_message.//

for this user i had a quota of "500000000S" which should be 500MB. if i run 
vusagec for this user, i get

host:/var/vpopmail/bin# ./vusagec u...@tld.de
u...@tld.de: 45223328 byte(s) in 4922 file(s)
which should be about 45MB

./vuserinfo u...@tld.de gives us:
...
uid:    1
gid:    0
flags:  0
gecos: xxx
limits: No user limits set.
dir:       /var/vpopmail/domains/tld.de/user
quota:     500000000S
usage:     9%
...


but when i try to sent him a mail, again
2009-09-07 20:43:48.931900500 delivery 5894: failure:
Message_rejected._Not_enough_storage_space_in_user's_mailbox_to_accept_message.//


also setting the limits for the domain brought no change:

vmoddomlimits -S tld.de
Domain: tld.de
--
Max Pop Accounts: -1
Max Aliases: 0
Max Forwards: -1
Max Autoresponders: -1
Max Mailinglists: -1
GID Flags:
Flags (for commandline):
Flags for non postmaster accounts:
  pop account:            ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  alias:                  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  forward:                ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  autoresponder:          ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist:            ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist users:      ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist moderators: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  quota:                  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  default quota:          ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
Domain Quota: 1000 MB
Default User Quota: 524288000 bytes
Max Domain Messages: 100000
Default Max Messages per User: 10000

Used filespace:
du -h --max-depth=1 ../domains/tld.de/
212M    ../domains/tld.de/

also setting quota for this user to "500000000S,9000C": no change

so are i'm doing something wrong or did i forgot to read some readmes? Any 
ideas? (yes, i read that
there is something broken, but i think with vusaged it should be ok)


for now i had to disable all quotas (NOQUOTA) (thanks for set_quota_4all.sh ;-)

ps: i don't need domainquotas, i want only quota for users


another problem was to compile vusaged:
i had to add this option " --with-vpopmail=/var/vpopmail", then all checks got 
yes and i was able to
compile. a small note would be great :-)


one big problem is still left, if i try to run vchkpw, i get a segfault

execve("./vchkpw", ["./vchkpw"], [/* 15 vars */]) = 0
uname({sys="Linux", node="hostname", ...}) = 0
brk(0)                                  = 0x8064000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f8d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=31391, ...}) = 0
mmap2(NULL, 31391, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f85000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177elf\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\...@\10\0\000"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=21868, ...}) = 0
mmap2(NULL, 184636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7f57000
mmap2(0xb7f5c000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xb7f5c000
mmap2(0xb7f5e000, 155964, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f5e000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1245488, ...}) = 0
mmap2(NULL, 1251484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7e25000
mmap2(0xb7f4d000, 28672, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x128) =
0xb7f4d000
mmap2(0xb7f54000, 10396, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f54000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7e24000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7e23000
mprotect(0xb7f4d000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e24ba0, limit:1048575, 
seg_32bit:1, contents:0,
read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f85000, 31391)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 29960 detached

ldd vchkpw
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7f65000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e33000)
        /lib/ld-linux.so.2 (0x80000000)

for now i help me with copying the old vchkpw from .17 into the bin dir. But i 
don't think this is a
good idea

ok, now i'm done ;-))



regards Jonathan

!DSPAM:4aa5691e32711074972397!

Reply via email to