Query: mail::milter::module::headerregex
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Mail::Milter::Module::HeaderRegex(3pm) User Contributed Perl Documentation Mail::Milter::Module::HeaderRegex(3pm)NAMEMail::Milter::Module::HeaderRegex - milter to accept/reject messages with certain headersSYNOPSISuse Mail::Milter::Module::HeaderRegex; my $milter = new Mail::Milter::Module::HeaderRegex('^Foo: '); my $milter2 = &HeaderRegex('^Foo: Bar'); # convenienceDESCRIPTIONThis milter module rejects messages at DATA phase if one of the message's headers matches user-supplied regular expressions.METHODSnew(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 header name. This method returns a reference to the object itself, allowing this method call to be chained.AUTHORTodd Vierling, <tv@duh.org> <tv@pobox.com>SEE ALSOMail::Milter::Object perl v5.8.8 2004-02-26 Mail::Milter::Module::HeaderRegex(3pm)
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
Introduction |
Detecting unused variables... |
Find columns in a file based on header and print to new file |