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

Top Page
Delete this message
Reply to this message
Author: Matthew Newton
Date:  
To: Ian Eiloart
CC: exim-users
Subject: Re: [exim] Limit of "to" or "cc" by a sender
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.

> 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@???>