[Exim] Rewriting envelope headers only on outgoing smtp

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Russell Shaw
Data:  
Para: exim-users
Assunto: [Exim] Rewriting envelope headers only on outgoing smtp
Hi,
I've read the exim3 book around P.342.
I'm on pop3 dialup (one PC, debian 2.4.20).
ISP is www.iprimus.com.au


I have this in exim.conf (smtp transport):

remote_smtp:
     driver = smtp
     headers_rewrite = russell@??? rjshaw@???


Then test with:

mail -s test user@remote
Another test
^D

The response shows that russell@??? hasn't been
replaced with rjshaw@???.


Message 1:
From MAILER-DAEMON Sat Sep 27 19:08:21 2003
Envelope-to: russell@???
X-Failed-Recipients: user@remote
From: Mail Delivery System <Mailer-Daemon@???>
To: russell@???
Subject: Mail delivery failed: returning message to sender
Date: Sat, 27 Sep 2003 19:08:21 +1000

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

   user@remote
     SMTP error from remote mailer after MAIL FROM:<russell@???> SIZE=1364:
     host smtp.iprimus.com.au [203.134.152.42]: 553 <russell@???> unable to verify address


------ This is a copy of the message, including all the headers. ------

Return-path: <russell@???>
Received: from russell by main.mypc.com.au with local (Exim 3.36 #1 (Debian))
         id 1A3B3s-0001Or-00
         for <user@remote>; Sat, 27 Sep 2003 19:08:20 +1000
To: user@remote
Subject: test
Message-Id: <E1A3B3s-0001Or-00@???>
From: Russell Shaw <russell@???>
Date: Sat, 27 Sep 2003 19:08:20 +1000


Another test