Re: [vchkpw] vsetuserquota

2008-04-29 Thread Wouter van der Schagt

I'm answering this for the archives. I have found a solution. Or actually,
im not sure what the solution was. though vaguely, but updating
vpopmail from 5.4.0 to 5.4.25 worked wonders

- Wouter

- Original Message - 
From: D. Hilbig [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Wednesday, April 23, 2008 12:51 AM
Subject: RE: [vchkpw] vsetuserquota




Do you have a program other than vdelivermail writing the message to your
Maildir?  I.E. Did you modify the .qmail-default file or create a custom
.qmail file for the user?  Whatever program actually writes the message to
the Maildir is responsible for updating maildirsize.

The qmail maildir++ patch is for qmail-local and qmail-pop3d.  If
qmail-local is not delivering directly to the Maildir and you aren't using
qmail's pop3d, there is no need for the patch.

And not that it should affect the updating of maildirsize, but if your
maildirsize is as you described below, then it is wrong.  Mailbox size is
specified in bytes with an appended capital S:

10S
0 0


-Original Message-
From: Wouter van der Schagt [mailto:[EMAIL PROTECTED]
Sent: Monday, April 21, 2008 9:54 AM
To: vchkpw@inter7.com
Subject: [vchkpw] vsetuserquota

Hi all,

When i run vsetuserquota domein.com 100k a maildirsize file is
created in the Maildir of a popbox. So far so good. The contents
of this file, is:

100K
0 0

Since there are no messages in the mailbox at the moment, I assume
this is correct. The file is set to vpopmail:vchkpw (chmod 600).
I'm assuming this is also correct.

Now when a mail is delivered there Qmail 1.03, this file is not
updated. Why?

When I delete an email thru POP, it is also not updated. Why?
I applied the qmail-maildir++ patch that is in the /contrib folder
of vpopmail 5.4

Dit i forget to do anything?

Sincerely,
- Wouter van der Schagt











!DSPAM:48174ca5120503809751109!



RE: [vchkpw] vsetuserquota

2008-04-22 Thread D. Hilbig

Do you have a program other than vdelivermail writing the message to your
Maildir?  I.E. Did you modify the .qmail-default file or create a custom
.qmail file for the user?  Whatever program actually writes the message to
the Maildir is responsible for updating maildirsize.

The qmail maildir++ patch is for qmail-local and qmail-pop3d.  If
qmail-local is not delivering directly to the Maildir and you aren't using
qmail's pop3d, there is no need for the patch. 

And not that it should affect the updating of maildirsize, but if your
maildirsize is as you described below, then it is wrong.  Mailbox size is
specified in bytes with an appended capital S:

10S
0 0


-Original Message-
From: Wouter van der Schagt [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 9:54 AM
To: vchkpw@inter7.com
Subject: [vchkpw] vsetuserquota

Hi all,

When i run vsetuserquota domein.com 100k a maildirsize file is
created in the Maildir of a popbox. So far so good. The contents
of this file, is:

100K
0 0

Since there are no messages in the mailbox at the moment, I assume
this is correct. The file is set to vpopmail:vchkpw (chmod 600).
I'm assuming this is also correct.

Now when a mail is delivered there Qmail 1.03, this file is not
updated. Why?

When I delete an email thru POP, it is also not updated. Why?
I applied the qmail-maildir++ patch that is in the /contrib folder
of vpopmail 5.4

Dit i forget to do anything?

Sincerely,
- Wouter van der Schagt





!DSPAM:480e17a2120502112715705!



Re: [vchkpw] vsetuserquota

2008-04-22 Thread Wouter van der Schagt

Thank you for your response, in answer to your questions.


Do you have a program other than vdelivermail writing the message to your
Maildir


No, just using qmail + vpopmail installation, here's an example 
.qmail-default

line (.qmail files are similar): DOMAIN contains the domainname.

| /home/vpopmail/bin/vdelivermail '' 
/home/vpopmail/domains/DOMAIN/postmaster



The qmail maildir++ patch is for qmail-local and qmail-pop3d.  If
qmail-local is not delivering directly to the Maildir and you aren't using
qmail's pop3d, there is no need for the patch.


I'm using qmail's pop3d


And not that it should affect the updating of maildirsize, but if your
maildirsize is as you described below, then it is wrong.  Mailbox size is
specified in bytes with an appended capital S:

10S
0 0


I executed it as such: vsetuserquota email 100k
It didnt return an errormessage..should i specify it otherwise? am running
vpopmail 5.4.0 at the moment.

Sincerely,
- Wouter van der Schagt 



!DSPAM:480e1b20120506677283926!



[vchkpw] vsetuserquota

2008-04-21 Thread Wouter van der Schagt

Hi all,

When i run vsetuserquota domein.com 100k a maildirsize file is
created in the Maildir of a popbox. So far so good. The contents
of this file, is:

100K
0 0

Since there are no messages in the mailbox at the moment, I assume
this is correct. The file is set to vpopmail:vchkpw (chmod 600).
I'm assuming this is also correct.

Now when a mail is delivered there Qmail 1.03, this file is not
updated. Why?

When I delete an email thru POP, it is also not updated. Why?
I applied the qmail-maildir++ patch that is in the /contrib folder
of vpopmail 5.4

Dit i forget to do anything?

Sincerely,
- Wouter van der Schagt


!DSPAM:480cc6a8120509167112773!



Re: [vchkpw] vsetuserquota

2002-10-22 Thread Ken Jones
Domain based quotas are not part of vpopmail.
It is suggested you use file system quotas can 
keep each domain under a separate /etc/passwd user
home directory. vadddomain -u username domainname.

Ken Jones

On Friday 18 October 2002 10:40 am, tech wrote:
 hello,

 how can i see the quota fixed for a domain?
 (setuserquota test.com 5000)

 vdominfo dont give us the quota.

 thanks in advance for your help

 ;-)

 
 Ivan Rambeau
 FranceOnLine
 





Re: [vchkpw] vsetuserquota

2002-10-22 Thread Rick Macdougall
Hi,

I've been trying to implement that myself and I've run into the problem of
running courier-imap as root.  In a normal vpopmail setup, I run
courier-imap as vpopmail so that new directories etc are created as the
vpopmail user.  If I have multiple domains under different users I must run
courier-imap as root so that it has access to read the different user files.

When new subfolders get created, they get created as root and then cannot be
deleted or moved and maildrop complains about permissions on the subdirs.

Any ideas?

Rick

- Original Message -
From: Ken Jones [EMAIL PROTECTED]
To: tech [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 9:58 AM
Subject: Re: [vchkpw] vsetuserquota


Domain based quotas are not part of vpopmail.
It is suggested you use file system quotas can
keep each domain under a separate /etc/passwd user
home directory. vadddomain -u username domainname.

Ken Jones






Re: [vchkpw] vsetuserquota

2002-10-22 Thread Brian Kolaci

I run system quotas and use courier-imap.  After a user authenticates,
courier switches ID to that user before execing imapd or pop3d.  All new 
folders created are that of the authenticated user.  If they're created as
root (which imapd should *not* be running as root), then there's a
problem with your configuration somewhere.  The only processes that run
as root are the auth daemons, logger, and couriertcpd.

Brian

   Hi,
   
   I've been trying to implement that myself and I've run into the problem of
   running courier-imap as root.  In a normal vpopmail setup, I run
   courier-imap as vpopmail so that new directories etc are created as the
   vpopmail user.  If I have multiple domains under different users I must run
   courier-imap as root so that it has access to read the different user files.
   
   When new subfolders get created, they get created as root and then cannot be
   deleted or moved and maildrop complains about permissions on the subdirs.
   
   Any ideas?
   
   Rick
   
   - Original Message -
   From: Ken Jones [EMAIL PROTECTED]
   To: tech [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Sent: Tuesday, October 22, 2002 9:58 AM
   Subject: Re: [vchkpw] vsetuserquota
   
   
   Domain based quotas are not part of vpopmail.
   It is suggested you use file system quotas can
   keep each domain under a separate /etc/passwd user
   home directory. vadddomain -u username domainname.
   
   Ken Jones
   
   
   





Re: [vchkpw] vsetuserquota

2002-10-22 Thread Rick Macdougall
Hi,

Thanks, I figured as much but haven't been able to find the correct
configuration switch to do that.  I'm running it via tcpserver because it
doesn't appear to work correctly when using it's own version of tcpserver
and ip domains (ie it's not passing the IP address to vpopmail).

I'll take a closer look and see what I can find.

Regards,

Rick

- Original Message -
From: Brian Kolaci [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 10:16 AM
Subject: Re: [vchkpw] vsetuserquota



I run system quotas and use courier-imap.  After a user authenticates,
courier switches ID to that user before execing imapd or pop3d.  All new
folders created are that of the authenticated user.  If they're created as
root (which imapd should *not* be running as root), then there's a
problem with your configuration somewhere.  The only processes that run
as root are the auth daemons, logger, and couriertcpd.

Brian

   Hi,
  
   I've been trying to implement that myself and I've run into the problem
of
   running courier-imap as root.  In a normal vpopmail setup, I run
   courier-imap as vpopmail so that new directories etc are created as the
   vpopmail user.  If I have multiple domains under different users I must
run
   courier-imap as root so that it has access to read the different user
files.
  
   When new subfolders get created, they get created as root and then
cannot be
   deleted or moved and maildrop complains about permissions on the
subdirs.
  
   Any ideas?
  
   Rick
  
   - Original Message -
   From: Ken Jones [EMAIL PROTECTED]
   To: tech [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Sent: Tuesday, October 22, 2002 9:58 AM
   Subject: Re: [vchkpw] vsetuserquota
  
  
   Domain based quotas are not part of vpopmail.
   It is suggested you use file system quotas can
   keep each domain under a separate /etc/passwd user
   home directory. vadddomain -u username domainname.
  
   Ken Jones
  
  
  







Re: [vchkpw] vsetuserquota

2002-10-22 Thread Brian Kolaci

I still force users to use their full email address as
the account name rather than map the IP to the domain
for them.  It makes debugging easier, however more of a
hassle for the end users.  One day I'll dig into getting
the IP-domain mapping to work.

Just tell the users to use their full email address as
the account name, unless of course you already have hundreds
of domains going with the IP mapping.

Thanks,

Brian

   Hi,
   
   Thanks, I figured as much but haven't been able to find the correct
   configuration switch to do that.  I'm running it via tcpserver because it
   doesn't appear to work correctly when using it's own version of tcpserver
   and ip domains (ie it's not passing the IP address to vpopmail).
   
   I'll take a closer look and see what I can find.
   
   Regards,
   
   Rick
   
   - Original Message -
   From: Brian Kolaci [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Tuesday, October 22, 2002 10:16 AM
   Subject: Re: [vchkpw] vsetuserquota
   
   
   
   I run system quotas and use courier-imap.  After a user authenticates,
   courier switches ID to that user before execing imapd or pop3d.  All new
   folders created are that of the authenticated user.  If they're created as
   root (which imapd should *not* be running as root), then there's a
   problem with your configuration somewhere.  The only processes that run
   as root are the auth daemons, logger, and couriertcpd.
   
   Brian
   
  Hi,
 
  I've been trying to implement that myself and I've run into the problem
   of
  running courier-imap as root.  In a normal vpopmail setup, I run
  courier-imap as vpopmail so that new directories etc are created as the
  vpopmail user.  If I have multiple domains under different users I must
   run
  courier-imap as root so that it has access to read the different user
   files.
 
  When new subfolders get created, they get created as root and then
   cannot be
  deleted or moved and maildrop complains about permissions on the
   subdirs.
 
  Any ideas?
 
  Rick
 
  - Original Message -
  From: Ken Jones [EMAIL PROTECTED]
  To: tech [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Tuesday, October 22, 2002 9:58 AM
  Subject: Re: [vchkpw] vsetuserquota
 
 
  Domain based quotas are not part of vpopmail.
  It is suggested you use file system quotas can
  keep each domain under a separate /etc/passwd user
  home directory. vadddomain -u username domainname.
 
  Ken Jones
 
 
 
   
   
   
   





Re: [vchkpw] vsetuserquota

2002-10-22 Thread Rick Macdougall
Hi,

While I don't have hundreds of domains using ip mapping I do have thousands
of users mapped to 3 different individual domains. That is a left over from
our move from sendmail to qmail and merging all the old mail servers into
one. All the new client domains are setup to use full user  domain, but
it's not really an option for the 3 main domains (Our original ISP, plus 2
other ISP's that we bought out).

It's not really an option not to use ip mapping.

Regards,

Rick





[vchkpw] vsetuserquota

2002-10-18 Thread tech
hello,

how can i see the quota fixed for a domain?
(setuserquota test.com 5000)

vdominfo dont give us the quota.

thanks in advance for your help

;-)


Ivan Rambeau
FranceOnLine