Marten Lehmann wrote:
> Hello,
> 
>> Is there a way to customize these messages?
> 
> no ideas on this? I've recently seen such thing in my log from another 
> server:
> 
> 452 4.2.1 Mailbox temporarily disabled: [EMAIL PROTECTED]
> 
> How can I do this with exim?
> 
> Regards
> Marten
> 

In any 'rejection-class' verb (i.e. a 'deny', NOT a warn)
use a structure of this general nature:

===========================================================================

   deny
     message     = \n Defective server $acl_m3 has no PTR record\
                   \n [EMAIL PROTECTED] refuses mail of unknown origin.


(conditionals not shown, but you do need such!).
============================================================================

Exim will preface each line with the RFC-mandated numerical code appropriate to 
the smtp phase.

Result:

<most of a full line of other information..> 550 -
550 - Defective server <IP, hostname> has no PTR record
550  <[EMAIL PROTECTED]> refuses mail of unknown origin

HTH,

Bill


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to