Re: Customizing the rejection message?

Marc MERLIN <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
On Mon, Oct 28, 2002 at 04:23:46PM -0500, Brian Kendig wrote:
> Right now it seems that when SA-Exim rejects a message, it gives the 
> mailer a message like this:
> 
>   hits=49.0 required=5.0 trigger=40.0
> 
> which some mailers will then display to the human being who tried to 
> send the message.
 
Correct.
 
> Is there any straightforward way to customize this message to something 
> like:

Yes, you have to hack the code :-)

On Mon, Oct 28, 2002 at 10:26:23PM +0000, Tim Jackson wrote:
> I've mulled over whether to write a patch that would make the message a
> config file option (or beg Marc to do it :), but I personally decided
> against it on these grounds:
> 
> 1. it's something you rarely need to change
> 
> 2. it's very easy to patch the source anyway
 
Those have been my arguments for not worying abou this so far :-)
 
> 3. with custom messages, you'd want to provide a selection of variables to
>    be used in the message, so you'd then have to mess around with
>    substitution 'variables' etc.

Exactly. It seemed like work, and it's a lot easier for everyone to edit
the source appropriately :-)

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking 
Home page: http://marc.merlins.org/   |   Finger [email protected] for PGP key
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.