[Mailmunge] Different reject code than expected.

Dianne Skoll dianne at skollsoft.com
Sun Feb 13 11:42:06 EST 2022


On Sun, 13 Feb 2022 11:38:34 -0500
list--- via Mailmunge <mailmunge at lists.mailmunge.org> wrote:

> I returned a temp 4xx fail from the recipient filter

Nope, you didn't.  You returned a 5xx permanent fail.

>   sub filter_recipient {
>     if (condition) {
>       return Mailmunge::Response->REJECT(message => "Reason", code =>
> 450, dsn => "4.7.1"); }
>   }

Use Mailmunge::Response->TEMPFAIL, not MailMunge::Response->REJECT

Regards,

Dianne.


More information about the Mailmunge mailing list