1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
  
     | 
    
      # -*- mode: ruby -*-
mailname = File.open("/etc/mailname") do |fp| fp.read.chomp; end
Config = {
  :port => 10025,
  :user => "list",
  :group => "list",
  :bind_address => "127.0.0.1",
  :smtp_host => mailname,
  :domain => mailname,
  :postmaster => "postmaster@#{mailname}",
  :info_url => "",
  :data_dir => '/var/lib/quickml',
  :pid_file => '/var/run/quickml/quickml.pid',
  :log_file => '/var/log/quickml/quickml-log',
  :verbose_mode => true,
  :max_members => 100,
  :max_mail_length => 100 * 1024,
  :ml_life_time => 86400 * 31,
  :ml_alert_time => 86400 * 30,
  :auto_unsubscribe_count => 5,
  :sweep_interval => 3600,
  :max_threads => 10,
  :timeout => 120,
  :use_qmail_verp => false,
  :confirm_ml_creation => false, # for confirming ML creation.
  :message_catalog => nil,  # for English messages
  # :message_catalog => '/usr/share/quickml/messages.ja', # for Japanese messages
  # :authorized_creators_list => '/etc/quickml/authorized_creators',
  # :distribute_address => "dist@#{mailname}",
  # :report_address => "notify@#{mailname}"
}
 
     |