Re: [Exim] How to break down CC's and process one at a time …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Andrew Nelson
CC: exim-users
Sujet: Re: [Exim] How to break down CC's and process one at a time ?
On Mon, 5 Jan 2004, Andrew Nelson wrote:

> I tried using your example router from 40.8:
> ---------------------------------------
> central_filter:
>     driver = redirect
>     domains = +local_domains
>     file = /central/filters/$local_part
>     no_verify
>     allow_filter
>     allow_freeze
> ---------------------------------------

>
> and it panic'ed about needing a User or check_local_user statement so I
> added:
> user = exim. That worked !


Yes. That is a known typo (omission) in the manual which I have already
noted (i.e. somebody else tripped over it before your).

> My current system filter is implemented with these lines:
> ---------------------------------------
> system_filter = /usr/local/bin/spam_filter
> system_filter_pipe_transport = spam_filer_pipe
>
> spam_filer_pipe:
> driver = pipe
> path = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib:/usr/local/bin"
> user = exim
> ---------------------------------------
>
> So I replaced "file = /central/filters/$local_part"
> with "file = /usr/local/bin/spam_filter"
>
> It now panics with :
>
> 2004-01-05 15:11:10 unable to set gid=1003 or uid=1003 (euid=1003):
> central_filter router (recipient is test@???)


Is your exim binary setuid=root?

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book