[Exim] Router question

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Johann Spies
Date:  
À: exim-users
Sujet: [Exim] Router question
I want to test Spamassassin and want to relay the mail of individual
users to a test machine with Spamassassin. I am not sure how to do
it. I don't want to rewrite the headers and have tried the following
routers which do not work:

========================
spam_exchange_router:
driver = manualroute
transport = remote_smtp
route_list = jspies@??? pikkewyn.sun.ac.za

spam_router:
driver = manualroute
transport = remote_smtp
route_list = jspies@??? pikkewyn.sun.ac.za

relayrouter:
driver = manualroute
domains = ! +local_domains
route_data = ${lookup pgsql {select distinct route from
smtprelayhosts2 where host = '$domain' limit 1}}
transport = remote_smtp
==========================

> exim -bt jspies@???

jspies@???
    <-- jspies@???
  router = relayrouter, transport = remote_smtp
  host stbbh.stb.sun.ac.za [146.232.20.30]


What is the correct way to do it?

Regards.
Johann

--
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch


     "Have not I commanded thee? Be strong and of a good
      courage; be not afraid, neither be thou dismayed; for
      the LORD thy God is with thee whithersoever thou
      goest."                        Joshua 1:9