# Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
# from the upstream distribution to remove the check_ prefix.  This plugin
# exists to allow older, un-migrated configurations to work properly with
# the 0.94 release.

my $whoami = 'relay';

sub init {
  my $self = shift;
  $self->log(LOGINFO,
             "The check_$whoami plugin is deprecated; see" .
             "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
  $self->isa_plugin($whoami);
}
