我正在为Apache James SMTP服务器上的未知/不存在的用户设置DSN消息。
现在,它在FastFail模块上拒绝向此类用户发送消息,但是为此,我找不到任何信息来设置有效的Content-Type
,DSN操作和DSN状态,而是发送一个空的默认值来设置DSN消息。一个。
mailetcontainer.conf
如下:
<processor state="bounces" enableJmx="true">
<mailet match="All" class="DSNBounce">
<passThrough>false</passThrough>
<attachment>message</attachment>
<messageString>Here is [machine]. I'm not able to deliver this message.</messageString>
</mailet>
</processor>