From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, NICE_REPLY_C,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28139 invoked from network); 4 Aug 2021 18:00:17 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 4 Aug 2021 18:00:17 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mBLBg-008wuV-5h for ml@inbox.vuxu.org; Wed, 04 Aug 2021 13:00:16 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1mBLBf-00D9ec-H1 for ml@inbox.vuxu.org; Wed, 04 Aug 2021 13:00:15 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1mBLBe-00D9eX-P3 for ding@lists.math.uh.edu; Wed, 04 Aug 2021 13:00:14 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mBLBc-008wuB-Ma for ding@lists.math.uh.edu; Wed, 04 Aug 2021 13:00:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TDks1iaAzzpobD0vgoMTGSnnojrL3wkTN/fkAnxeNRY=; b=htMmXC/eJcdzwoOFSjJWB0I2uQ xHmhMdqKbh0CsAP9ssW9GVuGh0GACdepmuuWlRO2Ewk7cXd/VxJuEFOREXUICWHh20qSvF9v/mXOq 0/QlcAG+6mSJVM860fWL0POmgZOdpIAAwDNtbYU+P/M66asOcxsCr0OAjFjU3YfiEQ1c=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBLBV-0002Ok-A6 for ding@gnus.org; Wed, 04 Aug 2021 20:00:07 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mBLBR-0002WT-U3 for ding@gnus.org; Wed, 04 Aug 2021 20:00:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: Difference between nnmail- and gnus- variables? Date: Wed, 04 Aug 2021 10:59:30 -0700 Message-ID: <874kc55bwd.fsf@ericabrahamsen.net> References: <87v94msauy.fsf@ericabrahamsen.net> <87mtpys8uj.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:WdPZ0s0XI8Rnj4nrkquXoEUQuRQ= List-ID: Precedence: bulk Pankaj Jangid writes: > Eric Abrahamsen writes: > >>>> In OO terms, nnmail.el can be thought of as an abstract parent class for >>>> all backends belonging to the "store messages as files on disk" type of >>>> server. It provides settings and functions that are used in common by >>>> nnml, nnmbox, nnmaildir, etc. >>> >>> This clarifies a lot of things for me. Especially, it is now clear that >>> this won’t work in my case. Because I am using IMAP. >> >> nnimap mostly uses nnmail for its splitting functions, and it looks like >> its expiry settings as well -- that's pretty much it. > > Ok. I got a little confused by "store messages as file on disk". Since > IMAP backend is like nntp because mails are mostly controlled by the > server. I thought you are referring to the backends which manages emails > themselves. IMAP is a little odd just because it's kind of in between: the server handles message storage, but the user "owns" the mail in the sense that they're allowed to split, move, expire, etc. So some of the nnmail stuff is relevant (splitting), but not most of it. A "real" nnmail backend is one that ends up calling `nnmail-get-new-mail'.