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)
2014-10-08: Dropped support for 2.6.x
2014-10-08: New patches for 2.9.0 - 2.9.9 added, it's new version v12! See ChangeLog for details
2013-06-07: Patch for 2.10.0 added
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.9  2.9.8  2.9.7  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 

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!