[vchkpw] catch-all/maildirquota problem (5.4.0-rc1)
Hi, I just tested 5.4.0-rc1 to see if maildirquota problem with catch-all was fixed and I have still this problem. (qmail is patched with qmail-maildir++.patch). # /home/vpopmail/bin/vadddomain test.com test # /home/vpopmail/bin/vsetuserquota [EMAIL PROTECTED] 1000 # echo "| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/test.com/postmaster" > /home/vpopmail/domains/test.com/.qmail-default # cd /home/vpopmail/domains/test.com/postmaster/Maildir/ # ls -l total 16 drwx--2 vpopmail vchkpw 4096 jan 13 01:22 cur drwx--2 vpopmail vchkpw 4096 jan 13 01:22 new -rw---1 vpopmail vchkpw 36 jan 13 01:22 sqwebmail-pass drwx--2 vpopmail vchkpw 4096 jan 13 01:22 tmp # echo "test" | mail [EMAIL PROTECTED] # ls -l total 20 drwx--2 vpopmail vchkpw 4096 jan 13 01:22 cur -rw---1 vpopmail vchkpw 20 jan 13 01:24 maildirsize drwx--2 vpopmail vchkpw 4096 jan 13 01:24 new -rw---1 vpopmail vchkpw 36 jan 13 01:22 sqwebmail-pass drwx--2 vpopmail vchkpw 4096 jan 13 01:24 tmp # cat maildirsize 1000S 0 0 212 1 Great works fine ! But now with catch-all doesn't work (maildirsize file isn't updated). # echo "test" | mail [EMAIL PROTECTED] # cat maildirsize 1000S 0 0 212 1 # ls -l new/ total 8 -rw---1 vpopmail vchkpw281 jan 13 01:24 1073953482.8587.ns3110.ovh.net,S=212 -rw---1 vpopmail vchkpw269 jan 13 01:27 1073953631.8623.ns3110.ovh.net,S=206 # cat new/1073953631.8623.ns3110.ovh.net,S\=206 Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 8621 invoked by uid 0); 13 Jan 2004 00:27:11 - Date: 13 Jan 2004 00:27:11 - Message-ID: <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] test Hope it helps. Octave
[vchkpw] problem quota between qmail and vpopmail/courier-imap
Hi, I use vpopmail 5.2.1 and courier-imap 1.7.3 and I have lot of quota problems: - vpopmail adds on the file's name size of the file: -rw---1 vpopmail vchkpw 3501 jun 24 20:39 1056479910.13491.x,S=3411 but S=3411b is not exact. Size is 3501b. The difference is about 80-100b. Not too much, but when you have lot of emails like 2Kb it is about 5%. My system is about 300Gb. 5% is about 15Gb ! It is probably because maildirquota.c checks the size then create file in /tmp and adds last header: Delivered-To: x Received: (qmail 22291 invoked by uid 505); 24 Jun 2003 19:01:15 - this last header is not inside of quota !! - this system of quota work when: - you have a single pop3/imap - catch-all and does not work when you have an alias in .qmail: # cat .qmail-email /home/vpopmail/domains/mydomain.com/email/Maildir it is because qmail-local does not know anything about this quota system with S=. Emails are delivered but the files are without S= and maildirquota file is not changed. -rw---1 vpopmail vchkpw 4502 jun 24 20:45 1054477010.13431.x If you want to have quota, you have to patch qmail-local (!!) or change all .qmail-xxx You can use (is it the best idea ?) vdelivermail: # cat .qmail-email | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/mydomain.com/email - maildirquota.c from vpopmail is not the same than maildirquota.c from courier. maildirquota.c from courier seems to be better. For exemple there is #TRASHQUOTA which allows to choose if trash emails has to be added in email quota or not. I did not test if #TRASHQUOTA works (I deleted code) since in authlib/preauthvchkpw.c #HAVE_OPEN_SMTP_RELAY does not work. I had to delete #HAVE_OPEN_SMTP_RELAY. then only open_smtp worked with courier-imap !? - I do not attach patchs since I do not know if you are interesting in. 2-3 months ago I sent a patch for open-smtp (which change open-smtp system from file to dir) and I have no answer. ftp://ftp.ovh.net/made-in-ovh/vpopmail/Open-Smtp-Dir.README.us Regards, Octave
[vchkpw] open-smtp-dir
Hi, I had lot of problems with open-smtp lock system. With 4000-5000 ip in open-smtp file, server was very slow. I change it to the same system but working with directory. There is no more problem with lock and servers are very fast. Patch (vpopmail.c) and some docs are on ftp://ftp.ovh.net/made-in-ovh/vpopmail It is very easy (easier than before). Regards Octave
Re: -ERR aack, child crashed
Hello, I got it. problem of permission ? I wonder what/how/why ? #define OPEN_SMTP_CUR_FILE "/home/vpopmail/etc/open-smtp" #define OPEN_SMTP_TMP_FILE "/home/vpopmail/etc/open-smtp.tmp" #define OPEN_SMTP_LOK_FILE "/home/vpopmail/etc/open-smtp.lock" I had this -rw-r--r--1 vpopmail vchkpw 29565 sep 10 15:26 open-smtp -rw---1 vpopmail vchkpw 0 aoĆ» 17 17:29 open-smtp.lock -rw-r--r--1 vpopmail vchkpw 28672 sep 10 18:05 open-smtp.tmp and error now I have -rw-r--r--1 root root 1940 sep 10 18:08 open-smtp -rw-rw-rw-1 vpopmail vchkpw 0 sep 10 18:06 open-smtp.lock and no error. !? Octave octave klaba wrote: > > Hello, > I got this error when I try to check the pop. > Any idea ?? > > Octave -- Amicalement, oCtAvE "Internet ? Welcome in the slave economy."
-ERR aack, child crashed
Hello, I got this error when I try to check the pop. Any idea ?? Octave
.qmail-defaut
Hello, When I create a new vpopmail's acount with ./vadddomain it create .qmail-defaut without any catch-all what should I modify to have .qmail-defaut like this (just with ./vaddomain) | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains//postmaster thanks Octave Amicalement, oCtAvE "Internet ? Welcome in the slave economy."