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]jspies@exchange.sun.ac.za[/email] pikkewyn.sun.ac.za

spam_router:
driver = manualroute
transport = remote_smtp
route_list = [email]jspies@sun.ac.za[/email] 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]jspies@sun.ac.za[/email]
[email]jspies@exchange.sun.ac.za[/email]
<-- [email]jspies@sun.ac.za[/email]
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 [url]http://www.exim.org/mailman/listinfo/exim-users[/url] Exim details at [url]http://www.exim.org/[/url] ##


--
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]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]