Provided by: opensmtpd-extras_5.7.1-1build1_amd64 bug

NAME

       filter-regex — smtpd filter for regular expression filtering

SYNOPSIS

       filter-regex [-l limit] [file]

DESCRIPTION

       filter-regex  is  a  filter  for  smtpd(8)  which  can  be used to filter mails using regular expressions
       matching SMTP session parameters.

       The options are as follows:

       -l limit  Set the number of lines limit of filter-regex after which the regular expression processing  is
                 stopped and the mail is accepted.  The accepted values are within the range of 1 and UINT_MAX.

                 The default limit value is 0 (unlimited).

       Depending if one of the regular expressions matches mails are either accepted or rejected with a SMTP 554
       reply.  Non-matching mails are always accepted.

FILES

       /etc/mail/filter-regex.conf  Default filter-regex configuration file.

SEE ALSO

       filter-regex.conf(5), filter_api(3), smtpd.conf(5), smtpd(8), re_format(7), regex(3)

HISTORY

       The first version of filter-regex was written in 2015.

AUTHORS

       filter-regex was intially written by Armin Wolfermann <armin@wolfermann.org> and further improved by
       Joerg Jung <jung@openbsd.org>.

Debian                                            May 15, 2015                                   FILTER-REGEX(8)