MAJOR=7
MINOR=0
DEVNAME=vcs
 É    ‹      Í”Qo›0…ßû+îü°·pC’MSk<ui‘Ò$J™¦iÚƒ±XŒŒ³¬ûõ3!U³©ÑºI“öÂ5ðÝÃ9}‘¬ãôÓfïÓ›%l>¼[.b #Ä�Ó1I“áÆ,‡ˆóR:×^"î÷û`?Œ-0Ýbéêj†�³Z¸@:IØí¯± ¥âÒW N»J±E#Õ709 Ù¹NK5Ã]g±ÒÞùƒ@Ýˆj'r+JìZ_(­^�j43ò¾Høw‚¾ï`‰gÝ~iu%|å•.šˆ8ÓFu]@gEDPÓt˜U¼¹
�à•‹ÈçE¼þâ9teßÍ(‡Òª<"oãhuµŽ®	[ñZQäO37³ä�ƒÚH�k%ÏÂ·|«¿ŸL<“–¨NXÝ:mšG}ÄÓ¨ÂT~>ë+Ÿ ´§Ô€ÈßMƒ‹Ÿ†±¹ÞÎWi²Ø#‘½Ä£»g½Â6ÜªÆA¢­ÎØû£ÿAìe“uíÕÃ)ÝY]”Ž0€<IþA¤ÜTRÙÓPçâæ	ê©Ë_lMÆ“é(œŒÆo |}Nþÿ5¥n”Oð°ú÷žùñáq[R<ìrŠÃ¯äwÕm­   ?÷     owner=s'            => \$opt{'socketowner'},
  'socketpath=s'             => \$opt{'socketpath'},
  'sql-config!'              => \$opt{'sql-config'},
  'ssl'                      => \$opt{'ssl'},
  'ssl-verify'               => \$opt{'ssl-verify'},
  'ssl-ca-file=s'            => \$opt{'ssl-ca-file'},
  'ssl-ca-path=s'            => \$opt{'ssl-ca-path'},
  'ssl-port=s'               => \$opt{'ssl-port'},
  'syslog-socket=s'          => \$opt{'syslog-socket'},
  'syslog|s=s'               => \$opt{'syslog'},
  'log-timestamp-fmt:s'      => \$opt{'log-timestamp-fmt'},
  'timeout-tcp|T=i'          => \$opt{'timeout-tcp'},
  'timeout-child|t=i'        => \$opt{'timeout-child'},
  'timing'                   => \$opt{'timing'},
  'user-config'              => \$opt{'user-config'},
  'username|u=s'             => \$opt{'username'},
  'version|V'                => \$opt{'version'},
  'virtual-config-dir=s'     => \$opt{'virtual-config-dir'},
  'v'                        => \$opt{'vpopmail'},
  'vpopmail!'                => \$opt{'vpopmail'},

  #
  # NOTE: These are old options.  We should ignore (but warn about)
  # the ones that are now defaults.  Everything else gets a die (see note2)
  # so the user doesn't get us doing something they didn't expect.
  #
  # NOTE2: 'die' doesn't actually stop the process, GetOptions() catches
  # it, then passes the error on, so we'll end up doing a Usage statement.
  # You can avoid that by doing an explicit exit in the sub.
  #
  
  # last in 2.3
  'F:i'                   => sub { warn "spamd: the -F option has been removed from spamd, please remove from your commandline and re-run\n"; exit 2; },
  'add-from!'             => sub { warn "spamd: the --add-from option has been removed from spamd, please remove from your commandline and re-run\n"; exit 2; },

  # last in 2.4
  'stop-at-threshold|S' => sub { warn "spamd: the -S option has been deprecated and is no longer supported, ignoring\n" },

) or print_usage_and_exit();

if ($opt{'help'}) {
  print_usage_and_exit(qq{For more details, use "man spamd".\n}, 'EX_OK');
}
if ($opt{'version'}) {
  print_version();
  exit($resphash{'EX_OK'});
}

if (!defined $opt{'default-user'}) {
  $opt{'default-user'} = 'nobody';
}

my $log_timestamp_fmt = $opt{'log-timestamp-fmt'};
if (defined $log_timestamp_fmt && lc($log_timestamp_fmt) eq 'default') {
  undef $log_timestamp_fmt;  # undefined implies per-logger's default
}
if (defined $log_timestamp_fmt) {
  # a nondefault timestamp format was specified, need to reopen stderr logger
  Mail::SpamAssassin::Logger::remove('stderr');
  Mail::SpamAssassin::Logger::add(method => 'stderr',
				  timestamp_fmt => $log_timestamp_fmt,
				  escape => 1);
}

# Enable debugging, if any areas were specified.  We do this already here,
# accessing some non-public API so we can use the convenient dbg() routine.
# Don't do this at home (aka any 3rd party tools), kids!
if (defined $opt{'debug'}) {
  $opt{'debug'} ||= 'all';
}
# always turn on at least info-level debugging for spamd
$opt{'debug'} ||= 'info';
# turn on debugging facilities as soon as possible
Mail::SpamAssassin::Logger::add_facilities($opt{'debug'});

# bug 2228: make the values of (almost) all parameters which accept file paths
# absolute, so they are still valid after daemonize()
foreach my $opt (
  qw(
  configpath
  siteconfigpath
  socketpath
  pidfile
  home_dir_for_helpers
  )
  )
{
  # rel2abs taints the new value!
  $opt{$opt} =
    untaint_file_path(File::Spec->rel2abs( $opt{$opt} )) if $opt{$opt};
}

# These can be changed on command line with -A flag
my $a