Sendmail? Just use sendmail's default config, with no smart relay host. By default, it will use DNS MX records to determine the SMTP server to send to. You might want to use a BIND cacheing nameserver, too, so you can look things up while you are disconnected from the net (put 0.0.0.0 in /etc/resolv.conf). This will work anywhere that doesn't filter outbound SMTP connections. You can probably script something that will check for a network connection and force sendmail's queue to send when you connect. If you must use a smart relay host for SMTP outbound in certain places, then you can probably hook something into the DHCP client (use dhclient with it's dhclient-script hooks) to modify sendmail's configuration based on where you are connected. You'd need to change the "DS" line in /etc/sendmail.cf and then restart sendmail. I don't think you can fiddle with the smart relay host dynamically though. On Wed, Sep 25, 2002 at 11:33:52AM -0400, Chuck Homic wrote: chuck> Hey, guys. Got a flame war question for y'all, I guess. chuck> chuck> What's a good (or the best?) MTA to have on my laptop. Here's chuck> what I'd like to be able to do: -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886