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@exchange.sun.ac.za pikkewyn.sun.ac.za
spam_router:
driver = manualroute
transport = remote_smtp
route_list = jspies@sun.ac.za 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@sun.ac.za
jspies@exchange.sun.ac.za
<-- jspies@sun.ac.za
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
Reply to: