Dear Sir,
I installed Postfix+Courier-Imap+Maildrop, I am using virtual MBOX and Non-unix
system account on Postfix.
Courier-Imap and Maildrop installed at /usr/local/courier/
I copy /usr/local/courier/etc/quotawarnmsg.example to
/usr/local/courier/quotawarnmsg.
I made maildirmake && maildirmake with option -q 1000000S to assign quota 1MB
for all Maildir.
When quota is over or I send an attachment bigger then 1MB, but system did not
send any warning.
I checked:
#cat /home/virtual/test.com/info/Maildir/maildirsize
1000000S
2407211 1
-2407211 -1
Please support me about:
1) How to activate maildrop to notify when overquota ?
(
I configure maildrop --enable-quota --with-trashquota,
#/etc/postfix/main.cf
mailbox_command = /usr/local/courier/bin/maildrop -w 90
virtual_transport = virtual
#/etc/postfix/master.cf
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/courier/bin/maildrop -d
${recipient}
Is maildrop ready active ? )
2) How to trap error code when overquota to do bounce and reject message to
sender ?
3) If I use .mailfilter to do, how do I enable it and scripts to get overquota
code?