Re: [Exim] Copy of someone's email

Pàgina inicial
Delete this message
Reply to this message
Autor: Patrick Boucher
Data:  
A: Odhiambo Washington
CC: exim-users
Assumpte: Re: [Exim] Copy of someone's email
Greetings,

Thank you very much for your assistance, but it is still not working.
How can i Debug the whole setup ?

First you tell me to Remove the "then" in my filter, but when i do it is not
working. It tells me that it was expecting OR, AND or THEN.

I have put the "then" back on, test the whole thing and it is "working".. But
at my other account, I am not receiving anything..
someone@???
So it is a Remote_delivery.

Does that count for something?

Patrick




On Wednesday 17 September 2003 01:22, Odhiambo Washington wrote:
> * Patrick Boucher <pboucher@???> [20030917 06:19]: wrote:
> > Greetings,
> >
> > I am trying to setup a system filter as in the
> > FAQ.http://www.exim.org/exim-html-4.20/doc/html/FAQ.html#TOC328
> >
> > How to get a copy of someone's mail.
> >
> >
> > in my configure.main:
> >     system_filter = /usr/exim/mail.filter
> >     #system_filter_file_transport = /tmp/test

> >
> > This is the content of my File: exim.filter
> >     if $local_part is "pboucher"
> >     then
> >     unseen deliver someone@???

>
> That should be:
>
> if $local_part is "pbouncer" then
>    unseen deliver someone@???
> endif

>
> > I know I have to configure a transport function. But I don't understand
> > how. What is missing from this configuration for my filter to work?.
>
> You need the following at the global config section ...
>
> Please change the value of exim and mail to reflect what you get when you
> do
>
> exim -bP exim_user, and
> id the_user_you_got_above
>
> Also the transports I have included here should be in the transports
> section. I believe they are there already.
>
>
>
> # System filter settings
>
> system_filter                 = /usr/exim/mail.filter
> message_body_visible          = 5000
> system_filter_file_transport  = address_file
> system_filter_reply_transport = address_reply
> system_filter_pipe_transport  = address_pipe
> system_filter_user            = exim
> system_filter_group           = mail

>
>
>
> ###########################################################################
>##### #                      TRANSPORTS CONFIGURATION
>         #
> ###########################################################################
>#####

>
>
>
> address_pipe:
>  driver               = pipe
>  log_defer_output
>  log_fail_output
>  return_fail_output
>  # The lines header is used by mutt and similar MUAs
>  headers_remove       = "Lines"
>  headers_add          = "Lines: ${body_linecount}\n"

>
> #
>
> address_file:
>  driver               = appendfile
>  delivery_date_add
>  envelope_to_add
>  return_path_add

>
>
> # This transport is used for handling autoreplies generated by the
> filtering # option of the forwardfile director.
>
> address_reply:
>  driver               = autoreply

>
>
>
>
> -Wash