Provided by: opensmtpd-extras_5.7.1-1build1_amd64
filter-regex — smtpd filter for regular expression filtering
filter-regex [-l limit] [file]
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.
/etc/mail/filter-regex.conf Default filter-regex configuration file.
filter-regex.conf(5), filter_api(3), smtpd.conf(5), smtpd(8), re_format(7), regex(3)
The first version of filter-regex was written in 2015.
filter-regex was intially written by Armin Wolfermann <firstname.lastname@example.org> and further improved by Joerg Jung <email@example.com>.