Darryl L. Pierce schrieb am Fri, Jan 17, 2003 at 07:39:51PM -0500: Hi!
> My question, is there a way to configure Exim to use my ISP's SMTP > server and my SMTP server at work without having to manually change > settings when I go from one place to the other? >From the Exim FAQ: Q0326: What I'd like to do is have alternative smarthosts, where the one to be used is determined by which ISP I'm connected to. A0326: The simplest way to do this is to use a lookup in a domainlist router. For example: smarthost: driver = domainlist transport = remote_smtp route_list = * ${lookup{smart}lsearch{/etc/smarthost}{$value}} byname where you arrange for the name (or IP address) of the relevant smart host to be placed in /etc/smarthost when you connect, in the form smart: smart.host.name.or.ip By keeping the data out of the main configuration file, you avoid having to HUP the daemon when it changes. (end quote) On my notebook, changing the /etc/smarthost file is done by whereami. I have extended that solution a bit so that different addresses are sent to the correct smart host when I'm at university. (My university's mailserver will accept only my university address, whereas the GMX server will only acceppt the GMX address; luckily, my ISP at home is happy with both...) If you're interested in that, let me know. Hope that helps! Greetings, FJ -- [EMAIL PROTECTED] http://www-user.tu-cottbus.de/~jennf/ reg. Linux User 66363 Thailand Log Update: 2002-11-14 Public Key Fingerprint: A6F0 EE41 A401 9EC4 1F59 4BBE 2D2E 7B56 3D6B 7B6E get http://www-user.tu-cottbus.de/~jennf/keys.html for public key -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]