Hello, I followed the Postfix/Courier virtual setup. I installed the quota patch and have been getting quota notifications daily. However, I have started to add more IMAP accounts to the server and none of those accounts seem to be included in the quota report(I know that the accounts contain email). I might have accidentally upgraded and messed up the postfix quota patch? Can anyone tell me a good way to check this manually? ***EDIT*** OK, I looked into the directory structure in /home/vmail/mydomain/user. I think the problem is that I am using IMAP and some of the people I was thinking were using IMAP are actually using POP3. The POP3 directories do not have a folder called maildirsize, which is what the quota_notify scipt is looking for. My question now is: Do the quotas apply to the pop3 accounts? Also, I would like to set a maximum attachment size for email. Could anyone tell me where the settings are for that?
It doesn't matter if you use POP3 or IMAP. You can use the message_size_limit setting in /etc/postfix/main.cf, e.g. Code: message_size_limit = 10240000 (for a 10MB email).