duy_dang2110 wrote:
Yes , I create a mailbox ( quota :6M) , I sent an email file attachments 5M to that mailbox , but nothing happend . Does it have any problem with above code ? .
I suggest you use the default script shipped by iRedMail, then turn on debug mode in Dovecot (search 'debug' in /etc/dovecot/dovecot.conf), restart Dovecot. Then create a new mail user and test again. Show us full log related to your testing email, so that we can help what the problem is.