anchor.diff:  # The minimum number of mails in a mailbox before updates are done to cache
   # file. This allows optimizing Dovecot's behavior to do less disk writes at
   # the cost of more disk reads.
  -#mail_cache_min_mail_count = 0
  +<%= Dovecot::Conf.attribute(@conf, 'mail_cache_min_mail_count', 0) %>
   
   # When IDLE command is running, mailbox is checked once in a while to see if
   # there are any new mails or other changes. This setting defines the minimum
   # time to wait between those checks. Dovecot can also use dnotify, inotify and
   # kqueue to find out immediately when changes occur.
  -#mailbox_idle_check_interval = 30 secs
  +<%= Dovecot::Conf.attribute(@conf, 'mailbox_idle_check_interval', '30 secs') %>
   
   # Save mails with CR+LF instead of plain LF. This makes sending those mails
   # take less CPU, especially with sendfile() syscall with Linux and FreeBSD.
   # But it also creates a bit more disk I/O which may just make it slower.
   # Also note that if other software reads the mboxes/maildirs, they may handle
   # the extra CRs wrong and cause problems.
  -#mail_save_crlf = no
  +<%= Dovecot::Conf.attribute(@conf, 'mail_save_crlf', false) %>
   
   ##
   ## Maildir-specific settings
  
positive.code: # WARNING: Never add directories here which local users can modify, that
  # may lead to root exploit. Usually this should be done only if you don't
  # allow shell access for users. <doc/wiki/Chrooting.txt>
  #valid_chroot_dirs = 
  
  # Default chroot directory for mail processes. This can be overridden for
  # specific users in user database by giving /./ in user's home directory
  
negative.code: 
  # Attachments smaller than this aren't saved externally. It's also possible to
  # write a plugin to disable saving specific attachments externally.
  <%= Dovecot::Conf.attribute(@conf, 'mail_attachment_min_size', '128k') %>
  
  # Filesystem backend to use for saving attachments:
  #  posix : No SiS done by Dovecot (but this might help FS's own deduplication)
  #  sis posix : SiS with immediate byte-by-byte comparison during saving
  #  sis-queue posix : SiS with delayed comparison and deduplication
  <%= Dovecot::Conf.attribute(@conf, 'mail_attachment_fs', 'sis posix') %>
  
  # Hash format to use in attachment filenames. You can add any text and
  # variables: %{md4}, %{md5}, %{sha1}, %{sha256}, %{sha512}, %{size}.
  # Variables can be truncated, e.g. %{sha256:80} returns only first 80 bits
  <%= Dovecot::Conf.attribute(@conf, 'mail_attachment_hash', '%{sha1}') %>
  