reject and reject_type handling for plugins #23

wants to merge 3 commits into


None yet

1 participant

qpsmtpd member

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 );

@msimerson msimerson closed this Aug 5, 2013
@msimerson msimerson deleted the msimerson:reject branch Sep 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment