anchor.diff:  # need to do chrooting, Dovecot doesn't allow users to access files outside
   # their mail directory anyway. If your home directories are prefixed with
   # the chroot directory, append "/." to mail_chroot. <doc/wiki/Chrooting.txt>
  -#mail_chroot = 
  +<%= Dovecot::Conf.attribute(@conf, 'mail_chroot') %>
   
   # UNIX socket path to master authentication server to find users.
   # This is used by imap (for shared users) and lda.
  -#auth_socket_path = /var/run/dovecot/auth-userdb
  +<%= Dovecot::Conf.attribute(@conf, 'auth_socket_path', '/var/run/dovecot/auth-userdb') %>
   
   # Directory where to look up mail plugins.
  -#mail_plugin_dir = /usr/lib/dovecot/modules
  +<%= Dovecot::Conf.attribute(@conf, 'mail_plugin_dir', '/usr/lib/dovecot/modules') %>
   
   # Space separated list of plugins to load for all services. Plugins specific to
   # IMAP, LDA, etc. are added to this list in their own .conf files.
  -#mail_plugins = 
  +<%= Dovecot::Conf.attribute(@conf, 'mail_plugins') %>
   
   ##
   ## Mailbox handling optimizations
  
positive.code: # some other MUA changes message flags, Dovecot doesn't notice it immediately.
  # Note that a full sync is done with SELECT, EXAMINE, EXPUNGE and CHECK 
  # commands.
  #mbox_dirty_syncs = yes
  
  # Like mbox_dirty_syncs, but don't do full syncs even with SELECT, EXAMINE,
  # EXPUNGE or CHECK commands. If this is set, mbox_dirty_syncs is ignored.
  #mbox_very_dirty_syncs = no
  
  # Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK
  # commands and when closing the mailbox). This is especially useful for POP3
  # where clients often delete all mails. The downside is that our changes
  # aren't immediately visible to other MUAs.
  #mbox_lazy_writes = yes
  
  # If mbox size is smaller than this (e.g. 100k), don't write index files.
  # If an index file already exists it's still read, just not updated.
  #mbox_min_index_size = 0
  
  ##
  ## mdbox-specific settings
  ##
  
  # Maximum dbox file size until it's rotated.
  #mdbox_rotate_size = 2M
  
  # Maximum dbox file age until it's rotated. Typically in days. Day begins
  # from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled.
  #mdbox_rotate_interval = 0
  
  # When creating new mdbox files, immediately preallocate their size to
  # mdbox_rotate_size. This setting currently works only in Linux with some
  # filesystems (ext4, xfs).
  #mdbox_preallocate_space = no
  
  ##
  ## Mail attachments
  
negative.code: #
  # <doc/wiki/MailLocation.txt>
  #
  <%= Dovecot::Conf.attribute(@conf, 'mail_location') %>
  
  # If you need to set multiple mailbox locations or want to change default
  # namespace settings, you can do it by defining namespace sections.
  