[vchkpw] Quotas: Strange Behaviors

2002-10-05 Thread Dorneles Treméa

Hi,

I'm in trouble with quotas... Who isn't? :-)

I'm usign qmail 1.03, vpopmail 5.3.8, qmailadmin 1.0.6,
vqadmin 2.3.2, Courrier-IMAP 1.4.4 and a few goodies...

I have applied qmail-maildir++ patch to enable POP support
and it's working perfectly, except for these problems:

a) When quota size in account properties is changed using
vqadmin (or vsetuserquota), file maildirsize isn't updated.
So, I need to manually delete this file, once it will be
automatically created with correct size on next mail.

b) When quota usage is higher 90%, a file named quotawarn
(0 byte) is created in Maildir root and a mail (warning)
is sent to the correspondent account. That's ok, but after
purging messages, this file isn't removed, and I will
nevermore receive that warning again, even if I delete it.

c) Automatically 15 minutes updates mentioned in doc
http://inter7.com/courierimap/README.maildirquota.html
doesn't work. It is implemented?

Well, here goes my question: all these behaviors are normal?

Thanks.

[]'s

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--




msg09103/pgp0.pgp
Description: PGP signature


Re: [vchkpw] devel: vqadmin-2.3.4 availble

2002-10-10 Thread Dorneles Treméa

Hi Ken,

 > Package: vqadmin Version: 2.3.4 (devel)
 > Home: http://www.inter7.com/vqadmin/
 > Devel Home: http://www.inter7.com/devel/
 > ChangeLog: http://www.inter7.com/vqadmin/ChangeLog
 >
 > The latest development version of vqadmin is now available at
 > http://www.inter7.com/devel/vqadmin-2.3.4.tar.gz

I'm sending a patch to fix:
  - a typo in 'configure' file: $FILTER -> $EFILTER
  - static string 'Qmail Control Files' in main.html -> #-061
  - some messages in brazilian portuguese translation file

Additionaly, IHMO only 1 bytes is few to files like
'badmailfrom', so:
  - increase MAX_CONTENT_LENGTH limit to 5, in global.h

Note: name of brazilian portuguese translation file must be
'pt-br' instead of 'br', so we need to rename it.

Best regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



diff -ru vqadmin-2.3.4/configure vqadmin-2.3.4+/configure
--- vqadmin-2.3.4/configure 2002-09-04 10:52:03.0 -0300
+++ vqadmin-2.3.4+/configure2002-10-10 19:07:26.0 -0300
@@ -2411,7 +2411,7 @@
 echo "  html dir = $htmldir"
 echo "   cgi-bin dir = $cgibindir"
 echo "   vqadmin dir = $cgibindir/vqadmin"
-case $FILTER in 
+case $EFILTER in 
 1*|y*|Y*)
 echo "   efilter = ON" 
   ;;
diff -ru vqadmin-2.3.4/global.h vqadmin-2.3.4+/global.h
--- vqadmin-2.3.4/global.h  2002-09-27 17:30:24.0 -0300
+++ vqadmin-2.3.4+/global.h 2002-10-10 19:07:46.0 -0300
@@ -54,7 +54,7 @@
 /*
Variable maximum lengths
 */
-#define MAX_CONTENT_LENGTH 1
+#define MAX_CONTENT_LENGTH 5
 #define MAX_GLOBAL_LENGTH 500
 #define MAX_TEMPLATE_LINE_LENGTH 500
 #define MAX_QUOTA_LENGTH 13
diff -ru vqadmin-2.3.4/html/br vqadmin-2.3.4+/html/br
--- vqadmin-2.3.4/html/br   2002-08-02 14:12:51.0 -0300
+++ vqadmin-2.3.4+/html/br  2002-10-10 19:09:24.0 -0300
@@ -1,4 +1,4 @@
-00 Menu Principal
+000 Menu Principal
 001 Domínios 
 002 Ver Domínio
 003 Adicionar Domínio
@@ -23,10 +23,9 @@
 022 Nome Completo
 023 Autenticação Falhou
 024 O vQadmin não conseguiu deterninar o seu nome de usuário, 
-025 o que significa que seu servidor web não esta configurado propriamente para
-rodar
+025 o que significa que seu servidor web não esta configurado propriamente para rodar
 026 este CGI. Por razoes de segurança, este programa
-027 não ira funcionar sem autenticação via apache.
+027 não irá funcionar sem autenticação via Apache.
 028 Erro irrecuperável
 029 Um erro irrecuperável ocorreu no processamento de seu pedido.
 030 Por favor contate o adminstrador se isto continuar.
@@ -34,17 +33,17 @@
 032 Ocorreu um erro ao iniciar a interface.
 033 Modificar Domínio
 034 Usuários
-035 Diretorio
+035 Diretório
 036 ID do Usuário
 037 ID do Grupo
 038 Modificar Conta de Email
 039 Quota em bytes
 040 Permissões
 041 Mostrar Domínios
-042 Desabilitar acesso ao pop
-043 Desabilitar acesso web
-044 Desabilitar acesso imap
-045 Desabilitar trocar senha
+042 Desabilitar acesso POP 
+043 Desabilitar acesso Web
+044 Desabilitar acesso IMAP
+045 Desabilitar alteração de senha
 046 Devolver Emails
 047 Desabilitar envio de email 
 048 Administrador do Domínio
@@ -53,13 +52,14 @@
 051 Data do último acesso 
 052 IP no último acesso 
 053 Mostrar Domínios
-054 O nome do domínio contém:Deixe em branco para todos os doínios.
+054 O nome do domínio contém:Deixe em branco para listar todos os domínios.
 055 #66
 056 #FF
 057 Verdana
 058 3
-059 Add Alias Domain
-060 Alias Domain Name
-061 Qmail Control Files
-062 Modify Control File
-063 Modify File
+059 Criar Apelido de Domínio
+060 Nome do Apelido de Domínio
+061 Arquivos de Controle do Qmail
+062 Modificar Arquivo de Controle
+063 Modificar Arquivo
+064 Ativar EFilter
diff -ru vqadmin-2.3.4/html/main.html vqadmin-2.3.4+/html/main.html
--- vqadmin-2.3.4/html/main.html2002-09-04 11:29:10.0 -0300
+++ vqadmin-2.3.4+/html/main.html   2002-10-10 19:08:23.0 -0300
@@ -20,7 +20,7 @@
 #-009
 #-006
 #-007
-Qmail Control Files
+#-061
 
 
 



msg09175/pgp0.pgp
Description: PGP signature


Re: [vchkpw] quotafix-patch ported to qmailadmin-1.06

2002-11-01 Thread Dorneles Treméa
Hi Jens,

> I have ported the qmailadmin quotafix-fax to qmailadmin-1.06.
> The patch is based on the qmailquotafix for qmailadmin-1.04 by jhopper.

do you subscribe QMailAdmin list ([EMAIL PROTECTED])?

I've already made this 2 weeks ago... :-)

Best regards.

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--




msg09630/pgp0.pgp
Description: PGP signature


[vchkpw] vpopmail MySQL can't find limits for domain

2003-02-28 Thread Dorneles Treméa
Hi guys,

I'm testing the following programs:

 - vpopmail 5.3.18 (with Kolaci's 26/02 patch):
   ./configure --enable-ip-alias-domains=y \
 --enable-auth-logging=y --enable-qmail-ext=y \
 --enable-roaming-users=y --enable-relay-clear-minutes=60 \
 --enable-defaultquota=10485760 --enable-learn-passwords=y \
 [EMAIL PROTECTED] \
 --enable-logging=e --enable-valias=y --enable-mysql=y \
 --enable-mysql-limits=y --enable-mysql-logging=y \
 --enable-libdir=/usr/lib --enable-passwd=n

 - qmailadmin 1.0.12:
   ./configure --enable-htmldir=/var/www \
 --enable-cgibindir=/usr/lib/cgi-bin \
 --enable-maxusersperpage=100 \
 --enable-autoresponder-bin=/usr/bin/autorespond \
 --enable-modify-quota=y \
 --enable-ezmlmdir=/usr/bin \
 --enable-imagedir=/var/www/images

 - vqadmin 2.3.5:
   ./configure --enable-htmldir=/var/www \
 --enable-cgibindir=/usr/lib/cgi-bin

Primary objective is keep all data on a MySQL database.

Both qmailadmin than vqadmin web interfaces are working, I
can log in, create new domains, add new users...

The problem is with MUAs... I can send messages, but I
can't get them... if I telnet port 110, and issue:

user [EMAIL PROTECTED]
pass thepassword
retr 1
retr 2
quit

I see the messages, but if I use Outlook Express, Mozilla
Mail, it gives me timeout... and with IMP web mail I just
see 2 lines with 'Subject: nosubject', 'Length: 0'...  :-(

Other strange behavior (I think): 'show domains' in vqadmin
report:

roo Aliased to alias
abus Aliased to alias
operato Aliased to alias
uuc Aliased to alias
anonymou Aliased to alias
backup-report Aliased to alias
bbsadmi Aliased to alias
dumpe Aliased to alias
hostmaste Aliased to alias
listmaste Aliased to alias
mailer-daemo Aliased to alias
manage Aliased to alias
orphanag Aliased to alias
warning Aliased to alias
webmaste Aliased to alias

Note users without last char. Also I don't know from
where come these alias... :-)

A last one: in qmail log, after delivery a message to
a maildir, I have:

 delivery XX: success: 
vnysql:_can't_find_limits_for_domain_'test.com'/did_0+0+1/

Obviously, my 'limits' mysql table is empty. I have the
feeling that this is the main reason of my problems...

Any help is immensely appreciate... :-)

Best regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--




pgp0.pgp
Description: PGP signature


Re: [vchkpw] vpopmail MySQL can't find limits for domain

2003-02-28 Thread Dorneles Treméa
Hi,

I'm playing with this the whole day, but just discovered:

> Both qmailadmin than vqadmin web interfaces are working, I
> can log in, create new domains, add new users...
> 
> The problem is with MUAs... I can send messages, but I
> can't get them... if I telnet port 110, and issue:
> 
> user [EMAIL PROTECTED]
> pass thepassword
> retr 1
> retr 2
> quit
> 
> I see the messages, but if I use Outlook Express, Mozilla
> Mail, it gives me timeout... and with IMP web mail I just
> see 2 lines with 'Subject: nosubject', 'Length: 0'...  :-(

Aham! I found the problem who is causing this... :-)

Debian 'qmail-src' package already comes with some patches
applied. The one who gives me all this headache is:

=> netscape-progress.patch

It was adding message size before header 'Return-Path':

xReturn-Path

I don't know if this is the expected behavior to this path.
Anyway it isn't important to me... :-)

> ...
> manage Aliased to alias
> orphanag Aliased to alias
> warning Aliased to alias
> webmaste Aliased to alias
> 
> Note users without last char. Also I don't know from
> where come these alias... :-)

This continues a mystery to me... :-(

> A last one: in qmail log, after delivery a message to
> a maildir, I have:
> 
>  delivery XX: success: 
> vnysql:_can't_find_limits_for_domain_'test.com'/did_0+0+1/
> 
> Obviously, my 'limits' mysql table is empty. I have the
> feeling that this is the main reason of my problems...

And this is what I will debug this night... :-)

Regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


Re: [vchkpw] vpopmail MySQL can't find limits for domain

2003-03-05 Thread Dorneles Treméa
Hello,

> >...
> >manage Aliased to alias
> >orphanag Aliased to alias
> >warning Aliased to alias
> >webmaste Aliased to alias
> >
> >Note users without last char. Also I don't know from
> >where come these alias... :-)
> 
> This continues a mystery to me... :-(

Aham! I found it... :-)

It's another Debian (qmail-src package) related issue:

file '/var/qmail/users/assign' has all this entries.

I just removed them, run '/var/qmail/bin/qmail-newu' to
update '/var/qmail/users/cdb' and solve the problem...

Regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


[vchkpw] vnysql: can't find limits for domain

2003-03-08 Thread Dorneles Treméa
Hi guys,

I'm curious if anyone more get messages like:

delivery 1: success: vnysql:_can't_find_limits_for_domain_'test.org'/did_0+0+1/

What I did: just installed vpopmail 5.3.19 (with
MySQL suport), vqadmin 2.3.5, created 'test.org'
domain with a postmaster user and send a message
from this user to himself... And my current log
shows that 'error'...

I already got this last week, with 5.3.18 version.

PS: All services was restarted.

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


Re: [vchkpw] vpopmail+mysql config

2003-03-12 Thread Dorneles Treméa
Hi Ajai,

> Im looking thru vmysql.h and was wondering if it was OK to use a
> different login name instead of "root" for MySQL?

sure, just make certain that this user have the appropriate
permissions to create/modifiy/access data, something like:

GRANT select,insert,update,delete,create,drop
ON your_vpopmail_db.*
TO [EMAIL PROTECTED]
IDENTIFIED BY 'your_pass';

Regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


Re: [vchkpw] Password Changing via PHP (w/o vpopmail extensions?)

2003-07-09 Thread Dorneles Treméa
Hi Jeremy,

> Am I right in believing that the vpopmail+MySQL user passwords are
> encrypted using MD5?  If not, what encryption method is vpopmail using and
> can it be changed to a different method?

I noticed that vpopmail in current versions uses a different encryption
method, so I called it: 'crypt-md5'. It uses a 'salt' with 8 chars,
starting with prefix '$1$'.

> Anyone have any info/help/tips/warnings/fears/etc?

Take a look at this message I posted on the sork mailing list:

http://lists.horde.org/archives/sork/Week-of-Mon-20030324/000887.html

Regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


Re: [vchkpw] Re: maildrop account on Virtual Domains

2003-07-24 Thread Dorneles Treméa
Hi Rudi,

> Would you mind explaining to me what Top Post is?

sure.. :-)

Take a look at this[1,2,3,4] top-postings links.

[1] http://catb.org/~esr/jargon/html/T/top-post.html
[2] http://www.dickalba.demon.co.uk/usenet/guide/faq_topp.html
[3] http://www.caliburn.nl/topposting.html
[4] http://www.faqs.org/rfcs/rfc1855.html

Kindly regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a24 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


Re: [vchkpw] error:domain already exsits

2003-07-24 Thread Dorneles Treméa
Hi Charles,

> Just checking, is the SF stuff in full effect at this point for qmailadmin
> and vpopmail?  Should all patches, bugs, etc. be posted there?  Will that
> make it easier for you and the other developers to track things?

yep... go on! ;-)

Regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology <http://www.x3ng.com.br>

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:->: a24 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G+>+++ e++> h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature