[Exim] rewriting mail headers

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Paul Miles
Fecha:  
A: exim-users
Asunto: [Exim] rewriting mail headers
Dear all,

We currently rewrite some 30/40 mail headers as part of a relaying service.
Currently they are all listed in the exim configuration file (in the rewrite
section) like so :

*@modular-lighting.co.uk        $1@???           Tbc
*@networka.co.uk                $1@???                 Tbc
*@keymer.co.uk                  $1@???           Tbc
*@hoopermen.com                 $1@???        Tbc
*@atlantic-platinum.com         $1@??? Tbc


What I would like to do is move these rewritting rules into a seperate text
file and access it something like :

*@lsearch;/usr/exim/etc/rewrite.config

I've had a look at the docs on the website and I understand that I can use
text files on a per domain basis but I couldn't see how to move the entire
re-writting stuff out of the main configuration file.

We're using exim 3.15.

Thanks in advance,


Paul Miles