I have a few servers running Debian 7, with Exim.  Each of them I have an
SRS daemon running.

From Exim I use a router like this:

  address_data = ${readsocket{/tmp/srsd}\
                {FORWARD $sender_address_local_part@$sender_address_domain
ikcheck.com\n}\
                                        {5s}{\n}{:defer: SRS daemon
failure}}

Exim runs under the user mail and SRS also runs under the user mail

That has worked for years and life is good.

I have setup a new machine with Debian 8, life not so good.

I know the SRS is running fine, I can use socat and connect to the socket
/tmp/srsd and feed it the command it needs and get an answer back.

I can feed it a command like this:  FORWARD [email protected] ikcheck.com

It will return this:  [email protected]

That's cool, that is what it is supposed to do.

Unfortunately on this Debian 8 box, Exim is not altering the envelope
address of the outgoing message.

I know it is running because I have it adding a header line to the outgoing
email, saying what it has done.  It adds a header like this:

X-SRS: Sender address rewritten from <[email protected]> to <""@>

It should actually indicate the new SRS0 address.

My first guess would be permissions, but I don't know how to debug it.  How
can I increase logging or somehow monitor what is hapening when it tries to
execute the readsocket command?



Robert G.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to