Re: [Exim] rewrite rule when using forwardfile

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Nicholas Piper
CC: exim-users
Sujet: Re: [Exim] rewrite rule when using forwardfile
On Tue, 28 May 2002, Nicholas Piper wrote:

> lists:
> driver = forwardfile
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
> domains = haus
> file = /etc/mailinglists/${local_part}
> no_check_local_user
> forbid_pipe
> forbid_file
> errors_to = nick-errors@???
>
> I also have a bunch of rewrite rules such as
>
>    *@*.haus  $1@haus
> nicholas@haus nick@??? Ffrs



> *However*, if I do "echo test | mail us" in order to send mail to all
> the people listed in mailinglists/us, those two addresses stay as
> nicholas@haus in the mails people receive:
>
> >From nicholas@haus Sat Apr 27 16:33:23 2002
> Return-path: <nicholas@haus>


Hmm. I would have expected "nick-errors@???", assuming that
that is a valid address.

Try running

exim -d9 us
test
.

to run a delivery with debugging turned on. The copious output will be
written to stderr. It may give you a clue.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.