From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54834 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: [nnimap] make gnus look in specific dir on server Date: Tue, 18 Nov 2003 09:12:44 -0600 Organization: Still searching... Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069168396 29635 80.91.224.253 (18 Nov 2003 15:13:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2003 15:13:16 +0000 (UTC) Original-X-From: ding-owner+M3373@lists.math.uh.edu Tue Nov 18 16:13:09 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AM7XR-0003z5-00 for ; Tue, 18 Nov 2003 16:13:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AM7XC-000377-00; Tue, 18 Nov 2003 09:12:54 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AM7X5-000371-00 for ding@lists.math.uh.edu; Tue, 18 Nov 2003 09:12:47 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 4971B3A0045 for ; Tue, 18 Nov 2003 09:12:46 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AM7X3-0001My-00 for ; Tue, 18 Nov 2003 16:12:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AM7X2-0001Mo-00 for ; Tue, 18 Nov 2003 16:12:44 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AM7X2-0007gY-00 for ; Tue, 18 Nov 2003 16:12:44 +0100 Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Wmenz4Equm1OS/xB32ucs4fb3Rk= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54834 Simon Josefsson writes: > Harry Putnam writes: > >> Simon Josefsson writes: >> >>> Harry Putnam writes: >>> >>>> How can I make gnus thru nnimap look at the mail spool on the imap >>>> server? >>>> >>>> Using the simple setup from gnus info I'm taken to the username >>>> $HOME. But the mail is at /var/spool/imap/mail/$LOGNAME on the >>>> server. >>> >>> This is server-specific, so you need to ask the server admins, but I >>> believe some servers map the mail spool to INBOX in IMAP. >> >> Well, it works from Mozilla with that same server. That is, in >> Mozilla setup it asks for the path to the spool, then looks there for >> mail. So there must be someway to pass that info from nnimap. > > Does it work to subscribe to the group > nnimap+192.168.0.4:/var/spool/imap/mail/$LOGNAME? Adding it to > nnimap-list-pattern is another option, if you prefer to subscribe to > groups via the server buffer. > This is server-specific, so you need to ask the server admins, but I > believe some servers map the mail spool to INBOX in IMAP. Forgot to mention: It is the University of Washington server (UM) And that I am the poor excuse for an admin on that server. I compiled it specifically to look in /var/spool/imap/mail/$LOGNAME. That location works from both mutt and Mozilla. Mozilla asks for the path during setup. With mutt I can get there like this mutt -f mutt -f imap://$LOGNAME@$HOST//var/spool/imap/mail/$LOGNAME I've tried this too: [...] (nnimap-address "192.168.0.4:/var/spool/imap/mail/reader_exp") [...] Subscribing as you suggested like this: U nnimap+192.168.0.4:/var/spool/imap/mail/reader_exp Does work. However when pressing on the resulting server, it still takes me to ~/$LOGNAME on the server. I'm experimenting with the pattern now. Looks like this works: (nnimap-list-pattern ("/var/spool/imap/mail/*")) Although I end up with long group names that way. I think this must mean my compile job on imap didin't do what I thought it would. Its still passing out ~/ as default.