Re: [exim] Limit of "to" or "cc" by a sender

Góra strony
Delete this message
Reply to this message
Autor: Ian Eiloart
Data:  
Dla: Matthew Newton
CC: exim-users
Temat: Re: [exim] Limit of "to" or "cc" by a sender


--On 9 February 2007 15:01:48 +0000 Matthew Newton <mcn4@???>
wrote:

> On Fri, Feb 09, 2007 at 01:54:00PM +0000, Ian Eiloart wrote:
>> > Completely untested, but how about:
>> >
>> > headers_remove = "To"
>> > headers_add = To: \
>> >              ${if >{${strlen:${sg{$header_to:}{[^,]}{}}}}{50}\
>> >                {Long list hidden by postmaster:;}{$header_to:}\
>> >              }

>>
>> Ah, that's neat. I'll try something like that - of course the
>> headers_remove has to be conditional, too.
>
> I don't think that headers_remove can be conditional - at least,
> in my setup here I don't treat it as such. That's why the
> headers_add will preserve To: as $header_to: if the condition fails.


Oh, I get it now.

The docs say that headers_remove is expanded (after headers_add), so it can
be conditional, but your approach might be easier to use.

>> suite, but prevents delivery when I deploy it. I think I may need to
>> upgrade from 4.63
>
> I'm still on 4.4x :-S --- it's on the to-do list...
>
> Matthew
>
>
> --
> Matthew Newton <mcn4@???>
>
> UNIX and e-mail Systems Administrator, Network Services,
> I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
>
> For IT help contact helpdesk extn. 2253, <cchelp@???>




--
Ian Eiloart
IT Services, University of Sussex