debian man page for mail::milter::module::heloregex

Query: mail::milter::module::heloregex

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Mail::Milter::Module::HeloRegex(3pm)			User Contributed Perl Documentation		      Mail::Milter::Module::HeloRegex(3pm)

NAME
Mail::Milter::Module::HeloRegex - milter to accept/reject connections with certain HELO values
SYNOPSIS
use Mail::Milter::Module::HeloRegex; my $milter = new Mail::Milter::Module::HeloRegex('^foo.com$'); my $milter2 = &HeloRegex('^foo.com$'); # convenience
DESCRIPTION
This milter module rejects entire SMTP connections if the connecting client issues a HELO command matching user-supplied regular expres- sions. Note that only the initial word of the HELO string is tested; any EHLO parameters are not checked by the regexes.
METHODS
new(REGEX[, ...]) Accepts one or more regular expressions, as strings or qr// precompiled regexes. They are tested in sequence, and the first match ter- minates checking. set_message(MESSAGE) Sets the message used when rejecting messages. This string may contain the substring %H, which will be replaced by the matching HELO parameter. This method returns a reference to the object itself, allowing this method call to be chained.
AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com>
SEE ALSO
Mail::Milter::Object perl v5.8.8 2004-02-26 Mail::Milter::Module::HeloRegex(3pm)
Related Man Pages
smfi_stop(3n) - hpux
mail::milter::module::connectdnsbl(3pm) - debian
mail::milter::module::connectmatcheshostname(3pm) - debian
mail::milter::module::maildomaindnsbl(3pm) - debian
sendmail::milter(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Introduction
Detecting unused variables...
One instance of comparing grep and awk
How to copy a column of multiple files and paste into new excel file (next to column)?