Re: [qmailtoaster] Apparent dovecot corruption leading to spurious 'user over quota' messages

2021-02-24 Thread xaf
Angus McIntyre a écrit le 24/02/2021 à 13:58 :
> I'm seeing intermittent bounces from an address on one of the domains
> hosted on my CentOS 8/QMT server.
>
> The address in question is 'info@', which is handled by the file
> '.qmail-info' for that domain. The contents of that file look like:
>
>   /home/vpopmail/domains/ratherlongdomainname.co.uk/someuser/Maildir/
>
> (obviously 'ratherlongdomainname' and 'someuser' are substitutions and
> not the actual values).
>
> Mail sent to that address intermittently bounces back with a 'User over
> quota' message. The targeted 'someuser' account has NOQUOTA set.
>
> As far as I can see, this is the only domain where this issue currently
> occurs (it did occur with another domain a few months back, but I
> resolved the issue -- it seemed to be due to ownership issues with some
> of dovecot's cache files -- and it hasn't re-occurred).
>
> After some investigation, I found that it seems to be linked to the
> 'someuser/Maildir/maildirsize' file created by dovecot. The current
> contents of that file are:
>
>   0S
>   0 0
>
> Permissions and ownership of the file seem to be correct (owned by
> 'vpopmail:vchkpw', 'rw' access for owner only).
>
> As long as that file is in place, this address -- and any other address
> whose .qmail-* file contains the same path -- becomes undeliverable. If
> I delete the file, deliveries start working again.
>
> Has anyone seen this issue or found a fix? And does anyone have any idea
> what could be causing the corruption (if that's what it is) to occur?
> Could dovecot be 'sensitive' to particular mail clients, or to the
> unusual length (28 characters) of the domain name in question?
>
> Thanks in advance for any suggestions,

For another issue, linked to large mailbox size,
i had to switch from NOQUOTA to 100 Go.

Give it a try.

xaf



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Mailbox Size

2021-02-24 Thread Janno Sannik

Hi,

I'm guessing how to keep thing optimized and how big the mailbox can get.
I would say the whole mailbox size is not that big of a deal. The 
problem comes on filesystem level if you have too many files on one folder.
So, they should probably organize so that later than few years are 
either in separate folder or even categorized yearly or so.


I have not seen problems with mailboxes 30-40GB+, but I have seen 
problems if all the emails are in same folder. ext4 starts to slow down 
if you have 50-100k files in one folder.



Janno
On 19.02.2021 12:40, Eric Broch wrote:

I guess I'm unsure of what you are trying to accomplish
On Feb 18, 2021, at 10:17 PM, ChandranManikandan > wrote:


Hi Eric,

Yes, I have been using noquota settings through qmailadmin.
Some of the mailboxes have more than 50 GB.
So i would like to know about the supporting mailbox size and how
do i optimize it.

On Thu, Feb 18, 2021 at 11:54 PM Eric Broch <
ebr...@whitehorsetc.com > wrote:

You can set NOQUOTA on a mailbox:

#  /home/vpopmail/bin/vmoduser -q NOQUOTA 'email addr'

or

# /home/vpopmail/bin/vadduser -q NOQUOTA 'email addr'


On 2/18/2021 3:53 AM, ChandranManikandan wrote:

Hi Friends,

I have more than 250 mailboxes running with COS7 + qmailtoaster
My management requested to keep key persons mailboxes always
on the server without archiving.
How much storage can be used in a single mailbox on
qmailtoaster.
Appreciate your suggestions.


-- 
*/Regards,

Manikandan.C
/*




-- 
*/Regards,

Manikandan.C
/*



[qmailtoaster] Apparent dovecot corruption leading to spurious 'user over quota' messages

2021-02-24 Thread Angus McIntyre
I'm seeing intermittent bounces from an address on one of the domains
hosted on my CentOS 8/QMT server.

The address in question is 'info@', which is handled by the file
'.qmail-info' for that domain. The contents of that file look like:

  /home/vpopmail/domains/ratherlongdomainname.co.uk/someuser/Maildir/

(obviously 'ratherlongdomainname' and 'someuser' are substitutions and
not the actual values).

Mail sent to that address intermittently bounces back with a 'User over
quota' message. The targeted 'someuser' account has NOQUOTA set.

As far as I can see, this is the only domain where this issue currently
occurs (it did occur with another domain a few months back, but I
resolved the issue -- it seemed to be due to ownership issues with some
of dovecot's cache files -- and it hasn't re-occurred).

After some investigation, I found that it seems to be linked to the
'someuser/Maildir/maildirsize' file created by dovecot. The current
contents of that file are:

  0S
  0 0

Permissions and ownership of the file seem to be correct (owned by
'vpopmail:vchkpw', 'rw' access for owner only).

As long as that file is in place, this address -- and any other address
whose .qmail-* file contains the same path -- becomes undeliverable. If
I delete the file, deliveries start working again.

Has anyone seen this issue or found a fix? And does anyone have any idea
what could be causing the corruption (if that's what it is) to occur?
Could dovecot be 'sensitive' to particular mail clients, or to the
unusual length (28 characters) of the domain name in question?

Thanks in advance for any suggestions,

Angus


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com