Re: [Exim] Copy of someone's email

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum: 2003-09-19 08:36 -000
Címzett: Patrick Boucher
CC: Odhiambo Washington, exim-users
Tárgy: 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