From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10656 Path: main.gmane.org!not-for-mail From: Sudish Joseph Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmail-spool-file should be a list... Date: 08 Apr 1997 20:13:33 -0400 Sender: sj@atreides.eng.mindspring.net Message-ID: References: <86ybatw9jd.fsf@kramer.in.aventail.com> <86wwqdw73g.fsf@kramer.in.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150489 25616 80.91.224.250 (20 Oct 2002 21:48:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:48:09 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id UAA19291 for ; Tue, 8 Apr 1997 20:07:56 -0700 Original-Received: from atreides.eng.mindspring.net ([207.69.183.11]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Wed, 9 Apr 1997 05:01:47 +0200 Original-Received: (qmail 14230 invoked by uid 52477); 9 Apr 1997 00:13:53 -0000 Original-To: ding@ifi.uio.no In-Reply-To: wmperry@aventail.com's message of 08 Apr 1997 14:13:55 -0700 Original-Lines: 36 X-Mailer: Gnus v5.4.40/XEmacs 20.1(beta11) Xref: main.gmane.org gmane.emacs.gnus.general:10656 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10656 William M Perry writes: > Duh, it can be a list. But I still need to hack the pop support to have > some way to specify the host for pop retrieval. Or am I overlooking > something there as well. I no longer use POP for retrieval, so take this with a cellar of salt. IMO, the best thing to do is to write a small shell wrapper for movemail that does all the fetching from various sources and then cats the lot into the file that GNUS specifies as the last arg. You can then use $MAILHOST[1] to select between servers. You should also consider having that script not connect to your POP servers every time gnus says it should, as Gnus used to do it way too often.[2] Writing a timestamp from the script would suffice, I guess. Finally, you could do what I did--give up on using pop through gnus and run an external pop fetcher to put mail into a file that could be added to nnmail-spool-file. I used popclient from cron. I believe fetchmail is far and away the best pop client out there these days.[3] -Sudish Footnotes: [1] movemail respects this. IMO, it's a pity that movemail's pop support wasn't done with proper args. "po:" is gross. [2] I last used movemail's pop support a year back, gnus might have changed for the better in this regard since then. [3] It has a daemon mode, will speak SMTP to deliver if you run an MTA, and has lots of other nifty gadgets. In particular, it handles multiple servers with different accounts/passwords cleanly. Even has a well-designed configfile format. Hmm, it's also written by Eric Raymond, so the widgets will only get snazzier and more plentiful with time. :-)