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 = [EMAIL PROTECTED] pikkewyn.sun.ac.za

spam_router:
   driver = manualroute
   transport = remote_smtp
   route_list = [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
[EMAIL PROTECTED]
    <-- [EMAIL PROTECTED]
  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

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at 
http://www.exim.org/ ##


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

     "And why call ye me, Lord, Lord, and do not the things 
      which I say?"                   Luke 6:46 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to