164562Sgshapiro# Configuration script for movemail.pl
264562Sgshapiro
364562Sgshapiromy $minutes = 60;
464562Sgshapiromy $hours = 3600;
564562Sgshapiro
664562Sgshapiro# Queue directories first..last
764562Sgshapiro
864562Sgshapiro@queues = qw(
964562Sgshapiro	/var/spool/mqueue/q1
1064562Sgshapiro	/var/spool/mqueue/q2
1164562Sgshapiro	/var/spool/mqueue/q3
1264562Sgshapiro);
1364562Sgshapiro
1464562Sgshapiro# Base of subqueue name (optional).
1564562Sgshapiro# If used, queue directories are $queues[n]/$subqbase*
1664562Sgshapiro# Separate qf/df/xf directories are not supported.
1764562Sgshapiro
1864562Sgshapiro$subqbase = "subq";
1964562Sgshapiro
2064562Sgshapiro# Age of mail when moved.  Each element of the array must be greater than the
2164562Sgshapiro# previous element.
2264562Sgshapiro
2364562Sgshapiro@ages = (
2464562Sgshapiro	30*$minutes,	# q1 to q2
2564562Sgshapiro	6*$hours	# q2 to q3
2664562Sgshapiro);
2764562Sgshapiro
2864562Sgshapiro# Location of script to move the mail
2964562Sgshapiro
3064562Sgshapiro$remqueue = "/usr/local/bin/re-mqueue.pl";
3164562Sgshapiro
3264562Sgshapiro# Lock file to prevent more than one instance running (optional)
3364562Sgshapiro# Useful when running from cron
3464562Sgshapiro
3564562Sgshapiro$lockfile = "/var/spool/mqueue/movemail.lock";
36