[vchkpw] Quota problem

2005-06-08 Thread Marcos Dutra




Hi people,
 
I have a problem with quota in my server. I put 
50Mb for an users, but the quota don't block the new messages. In qmailadmin, I 
see users with 20Mb usage but in the server with du command I see more than 
70Mb.
Is very strange, the .trash folder dont't enters in 
quota limit, why?
I use Debian 3.1 sarge release with qmailadmin 
1.2.3 and vpopmail 5.4.10
 
Thanks
 
Marcos


[vchkpw] OT - bouncesaying

2004-04-05 Thread Marcos Dutra
Hi all,

I use vpopmail with procmail and i have a rule if the user passed your quota, 
i return with bouncesaying, but the message error is not returned by qmail.

My .procmailrc is:

:0fhw
* ^From:
| formail -I "X-Quota: $QUOTA"

:0
* ^X-Quota: noquota
{
EXITCODE=100
:0w
* ^X-Quota: noquota
|/var/qmail/bin/bouncesaying "User is over quota, mail bounced."
}

The message return without error "User is over quota, mail bounced.".

What's happen, any idea?

Thanks for advance


Marcos Dutra



Re: [vchkpw] Problems with SMTP Relay

2004-03-03 Thread Marcos Dutra
Olá Juliano,

Se é que eu entendi direito vc tem dois servidores e isso dificulta usando o 
esquema smtp after pop. Tem um patch para isso mas não acho boa essa solução 
o que eu indico realmente e que pode dar um pouco de trabalho aos seus 
usuários é o smtp autenticado que tem no contrib do vpopmail.
O esquema que posso te passar é o esquema do vpopmail com o mysql e o patch 
está aqui...
http://www.tnpi.biz/internet/mail/toaster/patches/tcpserver-mysql.shtml

Marcos

Em Seg 01 Mar 2004 14:53, Juliano Primavesi - CyberWeb Networks escreveu:
> Oi marcos,
>
> Qual, patch vocês instalaram aí?
>
> Juliano
>
> Marcos Dutra wrote:
> > I suggest smtp authenticate then pop before smtp.
> >
> > Marcos
> >
> > Em Sex 27 Fev 2004 10:57, Juliano Primavesi - CyberWeb Networks escreveu:
> > > Where can I find this patch?
> > >
> > > Juliano
> > >
> > > Neil Spierling wrote:
> > > > Is there any special way of configure'ing vpopmail when tcpserver has
> > > > the patch applied n installed (ie --enable-tcpserver-file etc flags)
> > > >
> > > > -Original Message-
> > > > From: Shane Chrisp [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, 27 February 2004 3:30 p.m.
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [vchkpw] Problems with SMTP Relay
> > > >
> > > > Your other option is to run the mysql patch for tcpserver. This lets
> > > > tcpserver lookup the relay table instead of using the cdb. Far more
> > > > efficient in my finding so far.
> > > >
> > > > Shane



Re: [vchkpw] Problems with SMTP Relay

2004-03-01 Thread Marcos Dutra
I suggest smtp authenticate then pop before smtp.

Marcos


Em Sex 27 Fev 2004 10:57, Juliano Primavesi - CyberWeb Networks escreveu:
> Where can I find this patch?
>
> Juliano
>
> Neil Spierling wrote:
> > Is there any special way of configure'ing vpopmail when tcpserver has
> > the patch applied n installed (ie --enable-tcpserver-file etc flags)
> >
> > -Original Message-
> > From: Shane Chrisp [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 27 February 2004 3:30 p.m.
> > To: [EMAIL PROTECTED]
> > Subject: RE: [vchkpw] Problems with SMTP Relay
> >
> > Your other option is to run the mysql patch for tcpserver. This lets
> > tcpserver lookup the relay table instead of using the cdb. Far more
> > efficient in my finding so far.
> >
> > Shane



[vchkpw] Big server

2003-07-21 Thread Marcos Dutra
Hi people,

I would like make a big server with qmail +vpopmail +mysql +procmail. I think 
in this structure:
Server 1: Mx domain + smtp delivery +filters (Antispam, user filter(procmail) 
and antivirus)
This server basically is the mail gateway of all domains, where is passed in 
the filters rules per domain and redirect all mails to server 2

Server 2: Pop3 accounts + mysql server
Here is created all accounts.

This schema is good for multiple domains?
Another question is how do i do the message delivery the messages from server1 
to server2?

Thanks

Marcos Dutra




[vchkpw] tcprules

2003-04-01 Thread Marcos Dutra
Hi people,


I would like know if is possible put in rules of tcp.smtp qmail environment 
variables, like:

200.x.x.x:deny,RPLINE="[EMAIL PROTECTED]"

Or if i have make a patch for qmail environment variables like badrcptto, 
badmailftom, etc...


Thanks

Marcos Dutra



[vchkpw] Limitting attachment

2003-03-11 Thread Marcos Dutra
Hi,

How do i do limitting the size in e-mail with attachments? 

Per ex.

I have [EMAIL PROTECTED] i would like limit this user in 1MB to send e-mail with 
attachment per e-mail.

I have another user [EMAIL PROTECTED] and your limit to send e-mail with 
attachments is 5MB per e-mail.

This is possible?

Thanks

Marcos



[vchkpw] See forward in qmailadmin???

2003-01-08 Thread Marcos Dutra
Hi people,

When i create a forward with any user different of postmaster in qmailadmin, 
and if log in with postmaster password, i don't see a forward created by 
simple user, why???

Best Regards

Marcos Dutra






[vchkpw] Vqmaillocal

2002-12-12 Thread Marcos Dutra
I read  the README.vqmaillocal and have a todo list in this code. Anybody 
have this implementation in the source from vqmaillocal?
Please send me this fix.

Thanks

Marcos




Re: [vchkpw] Vpopmail +Ldap

2002-09-18 Thread Marcos Dutra

Hi speza.

Thanks for help, this option resolved my problem..

Marcos Dutra

> Try with the line:
>
> schemacheck off
>
> into your slapd.conf
>
>
>  /speza
>
> 
> home:  http://speza.com icq#: 11471656
> home2: http://porzia.esoul.it/~speza
>
>
>
> --
> This mail sent trough IMP from http://segfault.notebook.locale



Re: [vchkpw] Vpopmail +Ldap

2002-09-18 Thread Marcos Dutra

Hi Koji,

My slapd.conf include is:

include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/qmailUser.schema


But my ldap don't know attribute sn. What's happen???
My OpenLDAP version is 2.0.25 and my vpopmail 5.2.1

Thanks

Marcos Dutra


Em Ter 17 Set 2002 21:17, Sunagawa Koji / ?? ?? escreveu:
> Hi, Marcos

> >Sep 17 16:33:45 crash slapd[22054]: Entry (uid=postmaster,
> > ou=ganso.tmp.br, dc=FELA, dc=com, dc=br): object class 'qmailUser'
> > requires attribute 'sn'
> >
> >
> >Where the attribute sn is defined
>
> you'll find sn in core.schema.
> so, you have to include core.schema.
>
> ---
> Sunagawa Koji[EMAIL PROTECTED]
>  Okinawa FreeBSD Users Group  http://www.ofug.net/~koj/



[vchkpw] Vpopmail +Ldap

2002-09-17 Thread Marcos Dutra

Hi people,

I compiled vpopmail with ldap and i copied qmailUser.schema from vpopmail 
source. When i will create a new domain or a new user, my ldap don't create 
the user and verifing the syslog and receive a message:

Sep 17 16:33:44 crash slapd[22054]: conn=1 op=0 BIND 
dn="CN=ROOT,DC=FELA,DC=COM,DC=BR" method=128
Sep 17 16:33:44 crash slapd[22054]: conn=1 op=0 RESULT tag=97 err=0 text=
Sep 17 16:33:44 crash slapd[22055]: conn=1 op=1 ADD 
dn="OU=GANSO.TMP.BR,DC=FELA,DC=COM,DC=BR"
Sep 17 16:33:44 crash slapd[22055]: conn=1 op=1 RESULT tag=105 err=0 text=
Sep 17 16:33:45 crash slapd[22054]: conn=1 op=2 SRCH base="ou=ganso.tmp.br, 
dc=FELA, dc=com, dc=br" scope=2 
filter="(&(objectClass=qmailUser)(uid=postmaster))"
Sep 17 16:33:45 crash slapd[22055]: conn=1 op=3 SRCH base="ou=ganso.tmp.br, 
dc=FELA, dc=com, dc=br" scope=2 
filter="(&(objectClass=qmailUser)(uid=postmaster))"
Sep 17 16:33:45 crash slapd[22054]: conn=1 op=2 SEARCH RESULT tag=101 err=0 
text=
Sep 17 16:33:45 crash slapd[22055]: conn=1 op=3 SEARCH RESULT tag=101 err=0 
text=
Sep 17 16:33:45 crash slapd[22054]: conn=1 op=4 ADD 
dn="UID=POSTMASTER,OU=GANSO.TMP.BR,DC=FELA,DC=COM,DC=BR"
Sep 17 16:33:45 crash slapd[22054]: Entry (uid=postmaster, ou=ganso.tmp.br, 
dc=FELA, dc=com, dc=br): object class 'qmailUser' requires attribute 'sn'


Where the attribute sn is defined


Thanks

Marcos Dutra





Re: [vchkpw] Quota domain

2002-08-28 Thread Marcos Dutra


Hi Eduardo,

I will write in english because the other people didn't understand nothing =]

Well, i don't understand very well what you wrote but, i think in another 
solution them this...
Domain quota is very different then user quota, because i will management 
these domains, think more or less in 2000 domains, h this is the 
dead :-)


Marcos Dutra


Em Qua 28 Ago 2002 11:41, você escreveu:
> On Wed, 28 Aug 2002, Marcos Dutra wrote:
> > The vpopmail package has the domain quota default but, if apply the
> > default quota in 1000 bytes por example in @domain.com, it apply in
> > each mailbox 1000 bytes.
> >
> > Well is possible put 1000 bytes in a domain, not in a each mailbox?
> > Per example if i have 10 mailbox, the maximum total of all mailbox is
> > 1000 bytes in this domain.
>
> Use a per-user domain basis, aplying system quotas to each user.
>
> as vpopmail user do:



[vchkpw] Quota domain

2002-08-28 Thread Marcos Dutra

Hi people


The vpopmail package has the domain quota default but, if apply the default 
quota in 1000 bytes por example in @domain.com, it apply in each mailbox 
1000 bytes. 

Well is possible put 1000 bytes in a domain, not in a each mailbox? Per 
example if i have 10 mailbox, the maximum total of all mailbox is 1000 
bytes in this domain.


Thanks


Marcos Dutra



[vchkpw] pop3 auth

2002-08-19 Thread Marcos Dutra

Hi people,

Today again i've got a message "File busy try again later!"  in my kmail when 
i tried log in pop3 server. Well my boss received too this message,  and i 
tried up the value from /proc/sys/fs/file-max to 10240, and the file-nr is 
8192628510240

Verifing the problem, i lookup in the file file_lock.c in the vpopmail source 
end has this code:
int get_read_lock(FILE *fs)
{
 int try = 0;

while(read_lock(fileno(fs), 0, SEEK_SET, 0) < 0)
{
if (errno == EAGAIN || errno == EACCES || errno ==ENOLCK )
{
/* there might be other errors cases in which
* you might try again.
*/
if (++try < MAX_TRY_RLOCK) {
(void) sleep(2);
continue;
}
(void) fprintf(stderr,"File busy try again later!\n");
return(-1);
}

return(-2);
}
return(0);
}


I see part of code above and this error is caused by what exactly?
I see the file vpopmail.c and it have a function called POP_AUTH_OPEN_RELAY, 
it call a  file_lock if  the cdb generation give a error.

I don't no why this error appears to me, somebody knows?


Regards


Marcos Dutra