Custom Search

Postfix VDA
Features
  • Brings per mailbox/maildir quota support to Postfix VDA
  • Support for Courier style maildir format, including maildirsize file
  • Limit either only INBOX or whole maildir
  • Customizable bounce message, used if mails are bounced (it's also an option)
  • Customisable suffix for Maildir support, sometimes needed for Courier IMAP
  • Enhanced patch delivery abilities using vfilter
News (ChangeLog)
2013-06-07: Patch for 2.10.0 added
2013-05-07: Patches for 2.7.9-13, 2.8.14, 2.9.6
2013-01-07: Patches for 2.8.13, 2.9.1-5
2012-09-11: Patches for 2.8.10, 2.8.11, 2.8.12
2012-04-10: Added patches for 2.8.9, 2.9.0, 2.9.1. Patches for 2.9.x are with small changes (version 11)
Support
Our mailing list is used for user queries, development and news - simply everything about this patch.
Feel free to contact us on our mailing list with any questions, feedback, bug report or even patch.
Subscribe to our mailing list, or see the list archive .
Download
If you are not able to find the proper patch bellow, you can try to apply the older version to the new Postfix source tree
by using command "patch -p0 < vda-patch-file"

Postfix 2.10 support
2.10.0 
Postfix 2.9 support
2.9.6  2.9.5  2.9.4  2.9.3  2.9.2  2.9.1  2.9.0 
Postfix 2.8 support
2.8.14  2.8.13  2.8.12  2.8.11 
2.8.10  2.8.9  2.8.8  2.8.7  2.8.6  2.8.5  2.8.4  2.8.3  2.8.2  2.8.1  2.8.0 
Postfix 2.7 support
2.7.13  2.7.12  2.7.11 
2.7.10  2.7.9  2.7.8  2.7.7  2.7.6  2.7.5  2.7.4  2.7.3  2.7.2  2.7.1  2.7.0 
Postfix 2.6 support (unsupported by Postfix)
  • Postfix 2.6.5-NG: SHASUM 946770cdfe2d77a96c6652b254449ea961513081 http
  • Postfix 2.6.4-NG: SHASUM 93ec5b55ae9096a7c67c23a54521ff35493176fe http
  • Postfix 2.6.3-NG: SHASUM 17d5dea48c418e12ec497d86d970ae7515d48b14 http
  • Postfix 2.6.2-NG: SHASUM 477dae957954b7ed0b8a33caeb99127f050b1113 http
  • Postfix 2.6.1-NG: SHASUM c95fd5e66ad40ab21203bd7cff1302a03427fe6c http
  • Postfix 2.6.0-NG: SHASUM 98fda798911dd0167d83496f67f10ce8f5ae6630 http

    (apply VDA patch before the bigquota patch)
  • Postfix 2.6.5-NG-bigquota: SHASUM 6dfeb9a2fff44d85e9a5a28b81a84898734adfe6 http
  • Postfix 2.6.4-NG-bigquota: SHASUM a872a83d9b0ee7cd0a2d653473dba286990b9803 http
  • Postfix 2.6.3-NG-bigquota: SHASUM 041e6d544d0fcb0817eb2089d6fe8fccee0e7e1b http
  • Postfix 2.6.2-NG-bigquota: SHASUM 5e759d449296c2d9ac7773600b6f70141791d908 http
  • Postfix 2.6.1-NG-bigquota: SHASUM 4fc73d3ca0d8b58655388792a11a6bf0ecce10de http
  • Postfix 2.6.0-NG-bigquota: SHASUM cbe05f4cb926b95cf2fbaeb44e6b64ac6965e188 http

  • Download patch for older Postfix's versions
    Browse CVS

    Available options and examples

        # Basic map of the maildir/mailbox quotas
        # Default: not set
        virtual_mailbox_limit_maps = hash:/etc/postfix/vquota
    
        # Limit only inbox or whole maildir?
        # Default: no
        virtual_mailbox_limit_inbox = no
    
        # If set to 'no' and if the delivered message size is smaller than
        # message_size_limit (see Postfix doc for details), the quota will
        # be set to virtual_mailbox_limit (see Postfix doc for details)
        # So, this enables limits smaller than maximum message size.
        # Default: yes
        virtual_mailbox_limit_override = yes
    
        # Do we use Courier maildir++ quotas?
        # Default: no
        virtual_maildir_extended = yes
    
        # Will the message be bounced with 5xx code when user over quota? Otherwise
        # the temporary failure 4xx will raise and message will be queued
        # Default: no
        virtual_overquota_bounce = yes
    
        # When set, the per recipient limit message is search in the map, otherwise
        # the message in 'virtual_maildir_limit_message' is used
        # Default: not set
        virtual_maildir_limit_message_maps = hash:/etc/postfix/limit_messages
        
        # This message is used when the user is over quota and if the 
        # 'virtual_maildir_limit_message_maps' is not set. 
        # This is the per server message, unlike the 
        # 'virtual_maildir_limit_message' - that's the per recipient message.
        # If both are set, the 'virtual_maildir_limit_message_maps' will precede
        # and this option will not be used.
        # Default: "Sorry, the user's maildir has overdrawn his diskspace quota, please try again later."
        virtual_maildir_limit_message = "User over quota, try again"
    
        # Suffix added to the maildir/mailbox path, used motly with Courier, because
        # Courier reads the messages from the [path]/Maildir/ directory
        # Default: not set
        virtual_maildir_suffix = "Maildir/"
        
        # Will we count the trash folder (see the 'virtual_trash_name' option) 
        # to the sum of the quota?
        # Default: no
        virtual_trash_count = yes
    
        # The name of of the trash folder (important for 'virtual_trash_count' option)
        # Default: ".Trash"
        virtual_trash_name = ".Trash"
    
        # Do we use virtual maildir filter rules?
        # Default: no
        virtual_maildir_filter = no
    
        # The per user maildir filter map
        # Default: not set
        virtual_maildir_filter_maps = hash:/etc/postfix/vfilter
          
          
        -------------------------------------------------------------------------
        # This is example of hash file of virtual_mailbox_maps directive
        #
        # This is for maibox users
        user1@domain.com.br	com/d/do/domain.com.br/user1
        user2@domain.com.br	com/d/do/domain.com.br/user2
    	 
        # This is for Maidir users
        user1@domain.net.br	net/d/do/domain.net.br/user1/
        user2@domain.net.br	net/d/do/domain.net.br/user2/
        -------------------------------------------------------------------------
          
          
        -------------------------------------------------------------------------
        # This is example of hash file of virtual_mailbox_limit_maps directive
        # Every quota in this file is in bytes
        #
        user1@domain.com.br	2048000
        user2@domain.com.br	2048000
        user1@domain.net.br	5192000
        # this user has no limit
        user2@domain.net.br	0
        -------------------------------------------------------------------------
    
    Valid HTML 4.01!