szmlink counts as quota

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

szmlink counts as quota

Szépe Viktor
Hello!

I am trying to prevent multiple Trash, Junk, Sent folders created by  
various mail clients.

For example these are the symlinks for Sent:
.Sent
.Sent Items -> .Sent
.Sent Messages -> .Sent

Could it be that that Courier counts Sent folder size three time while  
calculating quota?
BTW this account is over 1GB quota while the Maildir folder's size is 481 MB.



SZÉPE Viktor
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
+36-20-4242498  [hidden email]  skype: szepe.viktor
Budapest, III. kerület





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
[hidden email]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: szmlink counts as quota

Gordon Messmer-2
On 05/18/2017 06:31 PM, SZÉPE Viktor wrote:
> Could it be that that Courier counts Sent folder size three time while
> calculating quota?


Can you test this patch?



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
[hidden email]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

courier-skip-symlinks.patch (791 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: szmlink counts as quota

Szépe Viktor
Idézem/Quoting Gordon Messmer <[hidden email]>:

> On 05/18/2017 06:31 PM, SZÉPE Viktor wrote:
>> Could it be that that Courier counts Sent folder size three time while
>> calculating quota?
>
>
> Can you test this patch?

Thank you!!

Sam, could we incorporate this patch?



SZÉPE Viktor
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
+36-20-4242498  [hidden email]  skype: szepe.viktor
Budapest, III. kerület





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
[hidden email]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: szmlink counts as quota

Sam Varshavchik
SZÉPE Viktor writes:

> Idézem/Quoting Gordon Messmer <[hidden email]>:
>
>> On 05/18/2017 06:31 PM, SZÉPE Viktor wrote:
>>> Could it be that that Courier counts Sent folder size three time while
>>> calculating quota?
>>
>>
>> Can you test this patch?
>
> Thank you!!
>
> Sam, could we incorporate this patch?
This was merged, with a slight technical change.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
[hidden email]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

attachment0 (817 bytes) Download Attachment
Loading...