I have linux on my laptop.

When I am at the office, behind the firewall, the smarthost is
mail.private.real-time.com, but when I am on the road the smarthost is
mail.real-time.com.

Is there a way to configure sendmail to relay to mail.private when I am on the
corporate network and mail when I outside?

Are something like try mail first, if that fails try mail.private?

-- 
Bob Tanner <tanner at real-time.com>       | Phone : (952)943-8700
http://www.mn-linux.org                 | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9