Re: [Exim] Copy of someone's email

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Patrick Boucher
CC: Odhiambo Washington, exim-users
Assunto: Re: [Exim] Copy of someone's email
On Thu, 18 Sep 2003, Patrick Boucher wrote:

> When I do sendmail -bt pboucher it tell me
> router = localuser, transport = local_delivery
>
> So it does not even parse the filter ?


The -bt option tests the routers for an address. If any filters are
called *from the routers* they will be run. However, -bt does NOT run
the system filter, which is a different sort of thing.

The system filter is run once per message, at the start of a delivery
attempt. It is not run for each recipient. All the per-address
processing is run via routers.

> In mainlog, There is nothing "wrong".. Well it does the delivery to pboucher
> at the local machine, but nothing, or no comments about the filter.


Try running a real delivery for several recipients with debugging turned
on. That is, something like

exim -d pboucher postmaster
<your message here>
.

You need to be an Exim admin user to use the -d option. You will see
that it runs the system filter once; then it runs the routers separately
for each recipient.

If you want to do something on a per-recipient basis, you have to do it
using routers.

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