Guest User

Untitled

a guest
Oct 26th, 2011
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. ####################################################
  2.  
  3. #### Postfix main.cf ##################################
  4. ###################################################
  5.  
  6. myhostname = eolios.$mydomain
  7. mydomain = somedomain.edu.br
  8. mydestination = $myhostname localhost.$mydomain $myhostname.$mydomain
  9. mynetworks = 127.0.0.0/8
  10. relayhost =
  11. relay_domains =
  12. inet_interfaces = all
  13. alias_maps = hash:/etc/aliases
  14. alias_database = hash:/etc/aliases
  15.  
  16. virtual_mailbox_domains = pgsql:/etc/postfix/pgsql/pgsql-virtual-domains.cf
  17.  
  18.  
  19. # I use only virtual as local delivery
  20. mailbox_transport = virtual
  21.  
  22. # Base directory where the mailboxes are located
  23. virtual_mailbox_base = /home/vmail
  24.  
  25. # Virtual users maps
  26. virtual_mailbox_maps = hash:/etc/postfix/vmailbox
  27.  
  28. # Minimal permitted UID value (for virtual_uid_maps)
  29. virtual_minimum_uid = 5000
  30.  
  31. # GIDs and UIDs to run as
  32. # Can also be stored in hash, mysql, ...
  33. virtual_uid_maps = static:5000
  34. virtual_gid_maps = static:5000
  35.  
  36. # A maximum size limit for a mailbox
  37. virtual_mailbox_limit = 0
  38.  
  39. # Quota values maps
  40. virtual_mailbox_limit_maps = hash:/etc/postfix/quota
  41.  
  42. # Limit only the INBOX
  43. # (useful for when you have IMAP users)
  44. virtual_mailbox_limit_inbox = no
  45.  
  46. # Enable limits smaller than maximum message size
  47. virtual_mailbox_limit_override = yes
  48.  
  49. # Enable Maildir++ extensions for faster maildir quota calculation
  50. # (maildirsize file and ",S=<size>" filename extension)
  51. # Needs Maildir++ compatible IMAP servers, like Courier-IMAP
  52. #virtual_maildir_extended = yes
  53.  
  54. # Always bounce the message when quota reached
  55. virtual_overquota_bounce = yes
  56.  
  57. # Custom message to send when bouncing
  58. virtual_maildir_limit_message = "Sorry, maximum quota reached!"
  59.  
  60. # Custom message maps for the bounces
  61. #virtual_maildir_limit_message_maps = hash:/etc/postfix/vmsg
  62.  
  63. # Also count the Trash folder when calculating quotas?
  64. virtual_trash_count = yes
  65.  
  66. # The name of the Trash folder
  67. # (if it doesn't need to be calculated)
  68. virtual_trash_name = ".Trash"
  69.  
  70. # Enable the Maildirfilter feature
  71. #virtual_maildir_filter = yes
  72.  
  73. # Maildirfilter maps
  74. #virtual_maildir_filter_maps = hash:/etc/postfix/vfilter
  75.  
  76.  
Advertisement
Add Comment
Please, Sign In to add comment