[Mailmunge] Rejecting in filter_recipient vs filter_message
list at ptld.com
list at ptld.com
Tue Jul 30 00:29:44 EDT 2024
I wrote my script a few versions ago and want to make sure im following current standards.
In filter_recipient{} im using
return Mailmunge::Response->REJECT(message => "Client blocked", code => 550, dsn => "5.7.1");
And in filter_message{} im using
$ctx->action_bounce("Client blocked", 550, "5.7.1");
return;
Is it still required to use the two different reject methods based on the filter_*{}, or can the same method be used in all filters? Id prefer to use the return Mailmunge::Response in all filters if possible.
More information about the Mailmunge
mailing list