From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3866 Path: news.gmane.org!not-for-mail From: Oliver Jennrich Newsgroups: gmane.emacs.gnus.user Subject: Automatically selecting an SMTP server. Date: Tue, 08 Jun 2004 14:53:42 +0200 Organization: I'm just speaking for myself. Message-ID: <817juinrc9.fsf@ID-371.user.uni-berlin.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669881 20692 80.91.229.2 (31 Jan 2006 01:11:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:11:21 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:52 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-X-Trace: news.uni-berlin.de ta/kZh3ZLN81Us+3UkyFaADB+4s4iAZdCqlriU4ShqQx0W User-Agent: Gnus/5.1001 (Gnus v5.10.1) XEmacs/21.4 (Portable Code, cygwin32) Cancel-Lock: sha1:ypfw0vtMJm/GP9ZwbWF1jMvmc8A= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4007 Original-Lines: 15 X-Gnus-Article-Number: 4007 Tue Jan 17 17:32:52 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3866 Archived-At: My computer is a laptop and is therefore used in changing IT environments - most notably the address or name of the SMTP server that is used at a particular location. Is there an easy way to automatically configure the right server, maybe based on IP-addresses? I was thinking along the lines of abusing message-send-hook, but I have no idea how to find the current IP-number in lisp. Any ideas? -- Space - the final frontier