Debian Codegraph @

plugins/check_badmailfrom

raw ◀ ▶
1 Debian patch touch this file
•1 # Backwards-compatibility wrapper; qpsmtpd 0.94 renamed the check_* plugins
2 # from the upstream distribution to remove the check_ prefix. This plugin
3 # exists to allow older, un-migrated configurations to work properly with
4 # the 0.94 release.
5
6 my $whoami = 'badmailfrom';
7
8 sub init {
9 my $self = shift;
10 $self->log(LOGINFO,
11 "The check_$whoami plugin is deprecated; see" .
12 "/usr/share/doc/qpsmtpd/README.check_plugins for details.");
13 $self->isa_plugin($whoami);
14 }