My question is why editing the c code?
Use the -q and specify the quota you want to use for the user when executing
the vadduser command
vadduser: usage: [options] email_address [passwd]
options: -v (print the version)
-q quota_in_bytes (sets the users quota, use NOQUOTA for unlimited)
Hi Eric,
I am actually reading from the old server tables and inserting into
the new one. Hence the reason for asking. I do really want to mash the
add of ,4000c to the code. I will test it out tomorrow.
Thank you.
regards
Anthony White
On 11/4/24 02:01, Eric Broch wrote:
/home/vpopmail/bin/vmoduser -q NOQUOTA u...@domain.tld
On 4/10/2024 9:57 AM, Tony White wrote:
Eric,
That suggests I can update the table directly and not
actually add the second element ,4000C. Is this assumption
correct? I need to update clients with their current allocation
from the old
Yes, vpopmail.c
On 4/10/2024 9:54 AM, Tony White wrote:
Hi Eric,
Understood thank you. So it is in fact in the vpopmail.c file not
the vadduser.c.
regards
Anthony White
On 11/4/24 01:37, Eric Broch wrote:
pw_shell=##S, #C
##S = default quota bytes
#C = max msg quota
Eric,
That suggests I can update the table directly and not
actually add the second element ,4000C. Is this assumption
correct? I need to update clients with their current allocation
from the old server.
regards
Anthony White
On 11/4/24 01:37, Eric Broch wrote:
pw_shell=##S, #C
Hi Eric,
Understood thank you. So it is in fact in the vpopmail.c file not the
vadduser.c.
regards
Anthony White
On 11/4/24 01:37, Eric Broch wrote:
pw_shell=##S, #C
##S = default quota bytes
#C = max msg quota
Here is the actual code when adding a user if anyone reads
pw_shell=##S, #C
##S = default quota bytes
#C = max msg quota
Here is the actual code when adding a user if anyone reads 'c' and is
interested.
if (limits.defaultquota > 0) {
if (limits.defaultmaxmsgcount > 0)
snprintf (quota, sizeof(quota), "%lluS,%lluC",
Is it possible it is a max file handle count?
4000c = 16384d
I also do not understand why there is and S on
the first value.
regards
Anthony White
On 10/4/24 23:40, Qmail wrote:
Ahh, then I also get the ,4000C - hmmm
And when I look up the user in vqadmin it's shown under the column quota as
The quota is set by default
Remo
Inviato da iPhone
> Il giorno 10 apr 2024, alle ore 06:41, Qmail ha scritto:
>
> Ahh, then I also get the ,4000C - hmmm
>
> And when I look up the user in vqadmin it's shown under the column quota as
> 4091324,4000C !!
>
>
> Well I admit You did start
Ahh, then I also get the ,4000C - hmmm
And when I look up the user in vqadmin it's shown under the column quota
as 4091324,4000C !!
Well I admit You did start out with a good question
Cheers
Finn
Den 10-04-2024 kl. 15:17 skrev Tony White:
Okay but I used the default values.
vadduser
Okay but I used the default values.
vadduser f...@ycs.com.au dickerydock
I did not specify the allocation of space
regards
Anthony White
On 10/4/24 22:04, Qmail wrote:
Hi again
Hmm
I tried this
./vadduser -q 4 test1@mydomain test
and
./vadduser -q NOQUOTA test@mydomain test
and
Hi again
Hmm
I tried this
./vadduser -q 4 test1@mydomain test
and
./vadduser -q NOQUOTA test@mydomain test
and there is NO ,4000C in my database
Whats on You vadduser line ? and I can try that if You want
/Finn
Den 10-04-2024 kl. 13:24 skrev Tony White:
Hi,
Thanks for the
Hi,
Thanks for the response but all the users were
created with vadduser.
regards
Anthony White
On 10/4/24 19:08, Qmail wrote:
Hi Tony.
Just checked my database and I do not have that value in any of my entries.
but ',4000C' seems to me as a value from a list where values was inserted
Hi Tony.
Just checked my database and I do not have that value in any of my entries.
but ',4000C' seems to me as a value from a list where values was
inserted into the new database - just a guess ?
I'm running latest qmail on a Rocky 9 latest and greatest
/Finn
Den 10-04-2024 kl. 10:38
14 matches
Mail list logo