I use exim on my laptop.  I modified the router driver to look at my
`from' address.  If it's at Uni, I use an MX at the uni.  If at
home, I use my own server.

Something like this:...

smarthost_work:
        condition = ${if eq 
{${lc:$sender_address_domain}}{nicta.com.au}{true}fail}
        driver = manualroute
        domains = ! +local_domains
        transport = remote_smtp_smarthost
        route_list = "* NICTA.SMTP.server bydns"

smarthost_gelato:
        condition = ${if eq 
{${lc:$sender_address_domain}}{gelato.unsw.edu.au}{true}fail}
        driver = manualroute
        domains = ! +local_domains
        transport = remote_smtp_smarthost
        route_list = "* GELATO.MAIL.SERVER bydns"


etc., etc.



--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to