File: check_relay

package info (click to toggle)
qpsmtpd 0.94-4
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 2,284 kB
  • sloc: perl: 17,176; sh: 543; makefile: 186; sql: 100
file content (14 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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);
}