# -*- mode: ruby -*-
#p $qwik_dir
config = {
  :user => "qwik",
  :group => "qwik",
  :port => 9195,
  :bind_address => "0.0.0.0",

  :smtp_host => '127.0.0.1',
  :smtp_port => 25,
  :domain => 'qwik.jp',
  :postmaster => "info@qwik.jp",
  :info_url => "http://qwik.jp/",

  :data_dir => $qwik_dir+'/data',
  :pid_file => $qwik_dir+'/log/quickml.pid',
  :log_file => $qwik_dir+'/log/quickml-log',

  :verbose_mode => false,
  :max_members => 100,
# :max_mail_length => 100 * 1024,
# :max_mail_length => 500 * 1024,
# :max_mail_length => 1024 * 1024,
  :max_mail_length => 2 * 1024 * 1024,
  :ml_life_time  => 86400 * 31,
  :ml_alert_time => 86400 * 24,
  :auto_unsubscribe_count => 5,

  :sweep_interval => 3600,
  :max_threads => 10,
  :timeout => 120,
  :use_qmail_verp => false,

  :backup_dir => nil,   # for synchronous backup (experimental)
  :confirm_ml_creation => true, # for confirming ML creation.

  # :message_catalog => nil  # for English messages
  :message_catalog => $qwik_dir+'/lib/qwik/quickml-messages.ja',
}
