# app-webmail, defaults
#
[roundcubemail]
  version	1.2.3
  tarfile	roundcubemail-::roundcubemail.version::.tar.gz
  instdir	/usr/share/roundcubemail

  allow		All

  title		::customer.name:: WebMail
  footer
  plugins	managesieve, emoticons, markasjunk, vcard_attachments

  force_https	true
  use_https	false

  # db connection
  #
  db_server     ::service.db::
  db_name       roundcube
  db_user       ::auth.roundcubemail.db_user::
  db_password   ::auth.roundcubemail.db_password::


  # running directories
  #
  logdir	/var/log/roundcubemail/		# importante lo slash finale
  tempdir	::path.tmpdir::/roundcubemail/	# importante lo slash finale

  # php limits
  #
  upload_max_filesize	::php.post_max_size::
  post_max_size		::php.post_max_size::
  memory_limit		::php.memory_limit::

  # hosts/ports
  #
  host		localhost	# eg: ssl://::service.mail::
  port		143
  smtp				# eg: ::service.smtp::
  smtp_port	25
  smtp_user			# eg: %u
  smtp_password			# eg: %p

  # host per managesieve (non puo` usare quello di roundcube per la sintassi)
  #
  sieve_host	localhost	# eg: ::service.mail::
  sieve_port	4190

  # language options
  #
  language		null 		# null=autodetect, quote if defined, eg: 'it_IT'
  date_long		'd.m.Y H:i'	# english='Y-m-d H:i', default IT format
  address_template	{street}<br/>{zipcode} {locality}<br/>{region} {country}

  # logging / debug options
  #
  debug_level		1	# 1=log, 4=show, 8=trace (sommare i valori)
  log_driver		file	# file / syslog

  log_logins		true
  log_session		true

  sql_debug		false
  imap_debug		false
  ldap_debug		false
  smtp_debug		false
  memcache_debug	false
  apc_debug		false
  managesieve_debug	false

  # session crypt key
  #
  # default (for backward compatibility) is DES-EDE3-CBC
  # e.g. AES-256-CBC is a better choice
  #
  cipher_method		DES-EDE3-CBC
  des_key		rcmail-!24ByteDESkey*Str	# THIS IS THE EXAMPLE!

  
