Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####################################################
- #### Postfix main.cf ##################################
- ###################################################
- myhostname = eolios.$mydomain
- mydomain = somedomain.edu.br
- mydestination = $myhostname localhost.$mydomain $myhostname.$mydomain
- mynetworks = 127.0.0.0/8
- relayhost =
- relay_domains =
- inet_interfaces = all
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- virtual_mailbox_domains = pgsql:/etc/postfix/pgsql/pgsql-virtual-domains.cf
- # I use only virtual as local delivery
- mailbox_transport = virtual
- # Base directory where the mailboxes are located
- virtual_mailbox_base = /home/vmail
- # Virtual users maps
- virtual_mailbox_maps = hash:/etc/postfix/vmailbox
- # Minimal permitted UID value (for virtual_uid_maps)
- virtual_minimum_uid = 5000
- # GIDs and UIDs to run as
- # Can also be stored in hash, mysql, ...
- virtual_uid_maps = static:5000
- virtual_gid_maps = static:5000
- # A maximum size limit for a mailbox
- virtual_mailbox_limit = 0
- # Quota values maps
- virtual_mailbox_limit_maps = hash:/etc/postfix/quota
- # Limit only the INBOX
- # (useful for when you have IMAP users)
- virtual_mailbox_limit_inbox = no
- # Enable limits smaller than maximum message size
- virtual_mailbox_limit_override = yes
- # Enable Maildir++ extensions for faster maildir quota calculation
- # (maildirsize file and ",S=<size>" filename extension)
- # Needs Maildir++ compatible IMAP servers, like Courier-IMAP
- #virtual_maildir_extended = yes
- # Always bounce the message when quota reached
- virtual_overquota_bounce = yes
- # Custom message to send when bouncing
- virtual_maildir_limit_message = "Sorry, maximum quota reached!"
- # Custom message maps for the bounces
- #virtual_maildir_limit_message_maps = hash:/etc/postfix/vmsg
- # Also count the Trash folder when calculating quotas?
- virtual_trash_count = yes
- # The name of the Trash folder
- # (if it doesn't need to be calculated)
- virtual_trash_name = ".Trash"
- # Enable the Maildirfilter feature
- #virtual_maildir_filter = yes
- # Maildirfilter maps
- #virtual_maildir_filter_maps = hash:/etc/postfix/vfilter
Advertisement
Add Comment
Please, Sign In to add comment