Metermaid Causes An SMTP 550 5.7.1 Status Code While It Should Give a 421 Temporary Status Code (Doc ID 2253843.1)

Last updated on APRIL 17, 2017

Applies to:

Oracle Communications Messaging Server - Version 8.0.1 and later
Information in this document applies to any platform.

Goal

When using metermaid callout in ORIG_SEND_ACCESS to throttle connections/mailflow based on destination domain, the mechanism works fine, but the SMTP status code that is returned to the SMTP client is not correct.

Sample mapping rule:

role.mapping:ORIG_SEND_ACCESS.rule = tcp_*|*|*|*@sub.domain.dom $C$[/opt/mail/msg/comms/messaging64/lib/check_metermaid.so,throttle,domain,$1]$N421$ Connection$ declined$ at$ this$ time

We get:


 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms