logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mail::Milter::Module::MailBogusNull - milter to reject null-sender mail to multiple recipients

Author

       Todd Vierling, <tv@duh.org> <tv@pobox.com>

Description

       This milter module rejects any mail from a "null sender" (empty "<>" address) which attempts to deliver
       to multiple recipients.  Normal delivery status notifications are intended for a single message, and thus
       should only ever be addressed to a single recipient.

Methods

new()

           Creates a MailBogusNull object.  There are no arguments to configure this module, as it is a fixed
           check.

           set_message(MESSAGE)

           Sets the message used when rejecting messages.

           This method returns a reference to the object itself, allowing this method call to be chained.

Name

       Mail::Milter::Module::MailBogusNull - milter to reject null-sender mail to multiple recipients

Pod Errors

       Hey! Theabovedocumenthadsomecodingerrors,whichareexplainedbelow:

       Around line 73:
           You can't have =items (as at line 85) unless the first thing after the =over is an =item

perl v5.36.0                                       2023-01-22              Mail::Milter::...::MailBogusNull(3pm)

See Also

       Mail::Milter::Object

Synopsis

           use Mail::Milter::Module::MailBogusNull;

           my $milter = new Mail::Milter::Module::MailBogusNull;

           my $milter2 = &MailBogusNull; # convenience

           $milter2->set_message('Null sender mail should go to only one recipient');

See Also