[Exim] return-path in mail list

Page principale
Supprimer ce message
Répondre à ce message
Auteur: R.S. Kempees
Date:  
À: exim-users
Sujet: [Exim] return-path in mail list
Hello,

I have succesfully set up a mail list according to this example in the
documentation:
  lists:
    driver = redirect
    domains = lists.example
    file = /usr/lists/$local_part
    forbid_pipe
    forbid_file
    errors_to = $local_part-request@???
    no_more


on exim 4.2, running with the -bd option.

The list works just fine, there are only two things i would like to add:

1. Is it possible to send a copy of the message to the sender as well? As
far as I can see this is not happening standard.

2. More difficult one: is it possible to set the return-path and sender to
the name and address of the maillist instead of that
of the originator? So I would to change the From, reply-to, From-env en
Sender headers in fact. I've tried it doing it with a
rewrite rule something like this (it was syntactically correct, this one is
top of the head):

*@* "${if eq {$header_to:}{list@???}{list@???}{}}" Ffrs

But this somehow doesnt work when sending 'for real'. When running exim -brw
the headers get changed just fine however.

What am i doing wrong? I have searched through tons of mails, but couldnt
find even a singele clue, but I can imagine someone else
has had to want this as well. :)

Sincerely,

Raimond Kempees