From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84898 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: Re: dealing with separate accounts separately in gnus Date: Mon, 08 Sep 2014 22:45:44 +0200 Organization: my virtual residence Message-ID: <87bnqp7sef.fsf@yun.yagibdah.de> References: <8738c3c4fn.fsf@yun.yagibdah.de> <87fvg2yhwl.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410209691 14444 80.91.229.3 (8 Sep 2014 20:54:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2014 20:54:51 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33142@lists.math.uh.edu Mon Sep 08 22:54:45 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XR5rw-0006TR-BS for ding-account@gmane.org; Mon, 08 Sep 2014 22:49:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XR5rG-0001zc-T5; Mon, 08 Sep 2014 15:48:18 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XR5rD-0001z3-AG for ding@lists.math.uh.edu; Mon, 08 Sep 2014 15:48:15 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XR5rB-00018V-D9 for ding@lists.math.uh.edu; Mon, 08 Sep 2014 15:48:14 -0500 Original-Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.161]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XR5r9-0008Cv-6H for ding@gnus.org; Mon, 08 Sep 2014 22:48:11 +0200 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1410209290; l=2630; s=domk; d=yun.yagibdah.de; h=Content-Type:MIME-Version:References:Date:In-Reply-To:Subject:To: From; bh=9e504NcUzFJat3z/QhlC23Z/Rlc=; b=Udl9YQjclPEyPPZciXHg1TE6thc0URCfyCAYx6fX/yVAc/7vgaPmo4kOp+ID/M/DQa8 qr5v/anX1ufkwvNsCvWx2VQFSHUiUWxdPf2kPP0flFd8ZtjxfH8z2vZjIMYJRdKTJLJlU xo46V5afSsGErGfhuxoUvVqXxhibgTYZy9w= X-RZG-AUTH: :O2kGeEG7b/pS1FS4THaxjVF9w0vVgfQ9xHcw0u9bPwwMFwe5A1Mf1jo8+wbUeX1fjiA= X-RZG-CLASS-ID: mo00 Original-Received: from jarl.yagibdah.de ([185.55.75.245]) by smtp.strato.de (RZmta 35.8 AUTH) with ESMTPSA id R06a8aq88KmAdUS (using TLSv1.2 with cipher DHE-RSA-AES256-SHA256 (256/256 bits)) (Client did not present a certificate) for ; Mon, 8 Sep 2014 22:48:10 +0200 (CEST) Original-Received: from yun.yagibdah.de ([192.168.3.20]) by jarl.yagibdah.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XR5r7-00026z-RI for ding@gnus.org; Mon, 08 Sep 2014 22:48:09 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.80.1) (envelope-from ) id 1XR5r7-0001nd-NB for ding@gnus.org; Mon, 08 Sep 2014 22:48:09 +0200 In-Reply-To: <87fvg2yhwl.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 08 Sep 2014 10:18:02 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Mail-Followup-To: ding@gnus.org X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84898 Archived-At: Eric Abrahamsen writes: > lee writes: > >> Hi, >> >> suppose I have several email accounts. I would like to treat these >> accounts completely separately from each other in gnus. >> >> One of these accounts gets incoming email from an imap server and uses >> nnml for storage. It's my default account which I'm using now. >> >> Another one would be an account on a remote imap server and not be >> supposed to store or do anything with the nnml storage or to interfere >> with mail splitting, and I don't want the mails to be mixed up in any >> way. It would suffice to have the other account show up as a group in >> the group buffer. >> >> Is this even possible with gnus? > > I'm not entirely sure I understand what you're asking, but it sounds > like you want a pretty normal setup, with two servers. It's anything but "normal" for me to have multiple email accounts ... > You've already got one server, just add another nnimap server. The server I already have is the mail-source: (setq mail-sources '((imap :server "jarl.yagibdah.de" :stream ssl))) All mail is stored in nnml storage. Gnus takes it from the server and splits it. I'm not doing anything on this IMAP server but taking the incoming emails from it. The second account must not interfere in any way with this. > By default nnimap doesn't store anything locally, it just contacts the > remote server, and splitting won't occur at all if you don't set > nnimap-split-methods as a server parameter (you may also need to omit > the nnimap-inbox parameter, but I'm not sure about that). I have (setq nnmail-split-methods 'nnmail-split-fancy) and (setq nnmail-split-fancy '[...]). I've experimented with, IIRC IMAP, quite a while ago and found that it would totally screw up the splitting because gnus wanted/needed to be told which storage to use to put the split mail into, and I didn't manage to tell it. > See the "Using IMAP" section of the Gnus manual for the absolute most > bare-bones setup. Yes, I looked at that. What would I set up? 'gnus-secondary-select-methods? IIRC that would interfere badly with what I have now. It might have to do with gnus telling that 'gnus-select-method' is nnml. So what is it supposed to do with mail residing on an IMAP account? Put it into the nnml storage (an obvious choice)? Put mail from nnml into the IMAP account (an extremely bad choice in this case)? Put mail from one IMAP account into the other (also an extremely bad choice). -- Knowledge is volatile and fluid. Software is power.