[Exim] Custom Messages Error

Top Page
Delete this message
Reply to this message
Author: Roxik
Date:  
To: exim-users
Subject: [Exim] Custom Messages Error
Hello

How I can customize SMTP error Messages?
I worted this line in exim.conf:

prohibition_message = ${lookup{$prohibition_reason}lsearch\
{/etc/exim/reject.messages}{${expand:$value}}}

Example line from reject.messages has:

sender_relay: Sender $sender_address with hostname: $sender_fullhost don't have access to this server.


But, exim produce this line:
550-Sender $sender_address with hostname: $sender_fullhost don't have access to this server
550 relaying to <Spam@???> prohibited by administrator

question 1: why exim don't translate values?
question 2: can I turned off default error messages? (for example: "550 relaying to <Spam@???> prohibited by administrator") ??

I use exim 3.35 TLS

I greet
Roxik