Re: [Exim] rewrite rule help

Góra strony
Delete this message
Reply to this message
Autor: Dave C.
Data:  
Dla: exim-users
Temat: Re: [Exim] rewrite rule help
I've tried:

\N^<.*>$\N avalid@??? twSQ

with and without the 'w' flag.

No matter what I do, the

To: <Undisclosed Recipients:;>

is never changed.

I tried this

^.* availd@??? twSq

and the ENVELOPE recipient was rewritten???!

I'm beginning to think I've found a bug in exim.

# uname -a
FreeBSD somehost 4.6-RC FreeBSD 4.6-RC #0: Sat May 18 02:10:12 EDT 2002
root@somehost:/usr/obj/usr/src/sys/GENERIC i386

# exim -bV
Exim version 4.04 #1 built 29-May-2002 18:36:11
Copyright (c) University of Cambridge 2002



On Wed, 12 Jun 2002, Dave C. wrote:

>
>
> ARGH.. I'm pulling my hair out over this.
>
> I would like to have exim obey
>
> deny    !verify = header_syntax

>
> But unfortunately, we've got a number of customers with Outhouse, and
> they tend to use its 'group lists', which like to use the following in a
> message Bcc'd to those groups:
>
> To: <Undisclosed Recipients:;>
>
> which is not valid.
>
> I have been trying to get a rewrite rile, to convert that to something
> like:
>
> To: Undisclosed Recipients: ;
>
> which is valid RFC(2)822 "group" syntax
>
> Ive tried a number of rules, the most recent being:
>
> \N^<.*:;>.*$\N "Unknown : ;" tSw
>
> I was just trying to convert it to
>
> To: Unknown : ;
>
> for testing, I was going to tackle extracting the relevant portion for
> replacement afterwards.
>
> However, exim appears to be completely ignoring this rule. It leaves the
> header untouched, and then the header_syntax check kicks in, and the 5xx
> is issued..
>
>
> What am I doing wrong here?
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>



--