Re: [exim] bounce per lang

Top Page
Delete this message
Reply to this message
Author: Ian Eiloart
Date:  
To: Exim users list
CC: 
Subject: Re: [exim] bounce per lang


--On 7 September 2005 21:26:46 +0100 "Alan J. Flavell"
<a.flavell@???> wrote:

> But as some of our *users* read and write Cyrillic to their
> correspondents, this isn't a technique that we dare use at the MTA
> level.


What one could do, though, is an ldap lookup in $recipients to find a user
preference (a list of charsets that they don't like). Unfortunately, we
can't do this in the recipients ACL, because we don't have the body.
However, most messages have only one recipient, so that shouldn't be too
much of a problem.

For multiple recipients, one could maybe 4xx the message, store a message
ID and charset in a database, and reject per recipient when we see it next.

To avoid loss of mail (when the sending server doesn't resend temporarily
rejected messages), one could even 4xx it, deliver it to people who want
the message, and 5xx the rest of the recipients next time around.

--
Ian Eiloart
Servers Team
Sussex University ITS