File: README.check_plugins

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 (16 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
The 0.94 upstream release of qpsmtpd renamed the various 'check_' plugins
to use names without the check_ prefix, amongst other updates.  While
upstream believes the new versions to be interface-compatible with their
predecessors, the actual names are changed.

The check_* plugins shipped with Debian's qpsmtpd are simply transitional
wrappers which expose the new plugins under their old names.  To update
your configuration, simply remove that prefix from any uncommented
lines in /etc/qpsmtpd/plugins.  The following shell snippet can do this
for you:

    cp /etc/qpsmtpd/plugins /etc/qpsmtpd/plugins.orig
    for p in earlytalker relay spamhelo badmailfrom badrcptto loop ; do
      perl -pi -e 's/^(# |)check_('$p')/$1$2/' /etc/qpsmtpd/plugins
    done