Re: [exim] headers_rewrite not working

Top Page
Delete this message
Reply to this message
Author: Vincent
Date:  
To: exim-users
Subject: Re: [exim] headers_rewrite not working
Hi Tony. I hope this does not end up getting posted twice. For some
reason my reply, this time, never showed up after posting through the
news server (news.gmane.org), so I went ahead and subscribed to the
mailing list and am trying again.

On Fri, Mar 14, 2008 at 04:05:49PM +0000, Tony Finch wrote:
> On Fri, 14 Mar 2008, Vincent wrote:
> >
> > I am trying to rewrite the *from* and *sender* headers to remove the
> > hostname, leaving just the domain name, only on outbound mail.
> > [...]
> > So far as I can tell, this is exactly how the docs say to do it,
> > but the *headers_rewrite* rule is having no effect.
>
> Does running Exim with debugging turned on provide any enlightenment?


Not that I can tell. Exim is not outputting any additional info after
starting up and printing "Listening...", when I do a delivery test.

Here is the debug output.

  Exim version 4.67 uid=0 gid=0 pid=27784 D=fbb95cfd
  Probably Berkeley DB version 1.8x (native mode)
  Support for: crypteq IPv6 TCPwrappers OpenSSL Content_Scanning Old_Demime
  Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz dsearch
  Authenticators: cram_md5 plaintext spa
  Routers: accept dnslookup ipliteral manualroute queryprogram redirect
  Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
  Fixed never_users: 0
  Size of off_t: 8
  changed uid/gid: forcing real = effective
    uid=0 gid=0 pid=27784
    auxiliary group list: 0
  configuration file is /usr/pkg/etc/exim/configure
  log selectors = 00000ffc 00212001
  cwd=/usr/pkg/etc/exim 3 args: exim -bd -d+transport+rewrite
  trusted user
  admin user
  originator: uid=0 gid=0 login=root name=Charlie Root
  27784 listening on all interfaces (IPv6) port 25
  27784 listening on all interfaces (IPv4) port 25
  27784 pid written to /var/run/exim.pid
  27784 changed uid/gid: running as a daemon
  27784   uid=1004 gid=6 pid=27784
  27784   auxiliary group list: 6 6
  27784 LOG: MAIN
  27784   exim 4.67 daemon started: pid=27784, no queue runs, listening for SMTP on port 25 (IPv6 and IPv4)
  27784 set_process_info: 27784 daemon: no queue runs, listening for SMTP on port 25 (IPv6 and IPv4)
  27784 daemon running with uid=1004 gid=6 euid=1004 egid=6
  27784 Listening...