Postfix Quota Patch question

Discussion in 'Server Operation' started by toastmaster, Mar 29, 2006.

  1. toastmaster

    toastmaster New Member

    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?
     
    Last edited: Mar 30, 2006
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    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).
     

Share This Page