How to configure a custom SMTP reply in eXpurgate
Posted by Stephan Tinnemeyer on 09 September 2016 11:26 AM
|
|
Applies to: eXpurgate On-Premise, SMTP reply, reject, multi-line Modified on: 09/09/2016 Description:eXpurgate's standard SMTP reply for rejects of messages due to their classification is SPAM id=[X-purgate-ID] This reply is very short and does not provide any explanation. Customers may want to employ their own SMTP reply, e. g. in a different language or providing instructions for senders of falsely rejected legitimate emails.
The SMTP reply can be configured as ENDOFDATA-REJECT in eXpurgate's configuration file: <SmtpServer> On default the whole section from <Messages> to </Messages> including the section tags is commented with a preceding #. Therefore, it is not sufficient to just uncomment the line which defines ENDOFDATA-REJECT by removing the # and change the string there. The section tags also need to be uncommented. The reply should always contain the eXpurgate-ID in order to trace the classification in case of the rejection of a legitimate email. The eXpurgate-ID is included using the placeholder %(expurgate-id). Line breaks in multi-line replies need to be encoded as \r\n. Example: The following reply with <eXpurgate-ID> standing for the respective eXpurgate-ID ... 550-Your message was not delivered for policy reasons. If you feel this is ... would be configured with ... <SmtpServer> Please mind that ENDOFDATA-REJECT is defined in a single long line although this line may be presented here as several lines. | |
|