--On Saturday, May 8, 2004 12:28 am +0200 Nico Erfurth <masta@???>
wrote:
> Jeff Lasman wrote:
>
>> We'd like to either refuse (I know, we shouldn't do that after data) or
>> filter out to /dev/null all email with in the subject.
>>
>> Has anyone done this? Can you point me to a quick howto?
>>
>> I'm going nuts trying to figure this out. I'm sure I'm missing
>> something simple, but it's driving me nuts.
>
> Add this to your acl_smtp_data acl.
>
> deny message = We don't allow Subjects starting with
> condition = ${if match {$h_subject:}{^ }{1}}
The problem with this is that the may be translated by the mail
client of the recipient of the bounce. Perhaps an encoded translation
should be offered:
deny message = We don't allow Subjects starting with (&nbsp;)
or something.
> Nico
>
> --
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
>## details at http://www.exim.org/ ##
>
--
Ian Eiloart
Servers Team
Sussex University ITS