Last updated on FEBRUARY 15, 2016
Applies to:Oracle Communications Messaging Server - Version 7.0.5 and later
Information in this document applies to any platform.
After configuring spamfilterN_optional=0 (or -2), the MTA will send back a 4xy response to the client when the milter call fails for whatever reason. However, we would like to be able to customize the error text that goes along with the 451 response (even if 99% of the time it's never seen by a human).
There is an option: error_text_spamfilterN_error but it does not appear to work when a 'more specific' error is available. For example if the milter call times out, this gets sent back:
29-Jul-2015 16:51:55.27 0e343.38f.4489 tcp_local JES 0 email@example.com rfc822; firstname.lastname@example.org mail.xyz.com ([209.85.xxx.xxx]) '' 451 4.7.1 Error 'Connection timed out'  reading CONNECT response length [slot 2 name 2]: email@example.com
This information 'connection timed out reading CONNECT response length' and [slot 2 name 2] are INTERNAL details that should not be sent back to the client as they could do nothing whatsoever about it. This text was sent back even though error_text_spamfilterN_error was set to something else .. because it's considered 'more specific' ... but we'd like to override this text with something more user friendly in case a user does end up seeing it.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms