#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
}
unshift @INC, $lib;
}
+
}
require RT;
if (not $value) {
my @other = grep {$_ ne $global{$setting}} @{$seen{lc $q->Name}{$action} || []};
- warn "CorrespondAddress not set on $qname, but in aliases as "
+ warn "$setting not set on $qname, but in aliases as "
.join(" and ", @other) . "\n" if @other;
next;
}
return ();
}
}
+
+__END__
+
+=head1 NAME
+
+rt-validate-aliases - Check an MTA alias file against RT queue configuration
+
+=head1 SYNOPSIS
+
+rt-validate-aliases [options] /etc/aliases
+
+=head1 OPTIONS
+
+=over
+
+=item C<--prefix>
+
+An expected address prefix used in the alias file
+
+=item C<--url>
+
+The root URL of your RT server (the same URL you expect to be passed to
+rt-mailgate)
+
+=item C<--host>
+
+The host part of your RT email addresses
+
+=back