smtpd/qpsmtpd — pull request #23 by msimerson (2012-06-04 00:08:52+00:00)
Title: reject and reject_type handling for plugins

standard methods for plugins to handle rejecting. Automatically and correctly handles parsing of these:

reject [ 0 | 1 | naughty ]

reject_type [ perm | temp | hard | soft | disconnect | temp_disconnect ]

When a plugin decides its time to reject, this is all that's needed:

return $self->get_reject( $why_message );