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 <[EMAIL PROTECTED]>

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, <[EMAIL PROTECTED]>

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to