From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10883 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: POP3 - long mails Date: 06 May 1997 07:22:40 -0700 Message-ID: <86wwpc1xzj.fsf@kramer.in.aventail.com> References: Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035150682 26980 80.91.224.250 (20 Oct 2002 21:51:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:51:22 +0000 (UTC) Cc: ding@ifi.uio.no 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 IAA19594 for ; Tue, 6 May 1997 08:28:12 -0700 Original-Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 6 May 1997 16:22:52 +0200 Original-Received: from kramer.in.aventail.com.aventail.com (wmperry@[192.168.1.12]) by newman.aventail.com (8.8.5/8.8.5) with SMTP id HAA11232; Tue, 6 May 1997 07:22:41 -0700 (PDT) Original-To: David Hedbor Errors-to: wmperry@aventail.com X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > Hello! > > I recently started using Gnus for mail and news reading (a big step up > from Netscape!), and I have a small suggestion. As I tend to get mails > with large binary attachments (> 2MB) and only have a modem connection, I > want the option not to get these mails (which I don't need on my side of > the modem anyway). To accomplish this, I hacked a small > movemail-replacement, which asks me whether or not I want to download a > large message (I also have the option to download the first X > lines). Until a few minutes ago, I didn't know that pop3.el existed. > > I think a couple of vars in pop3.el - one with max length and one with > the default action (nil - ignore, t or ask - ask the user whether to > download or not, or # - only download the first # lines). My elisp > knowledge is unfortunately limited to editing my .emacs and .gnus files, > so I couldn't do it myself. > > What do you think? Is this something that might be useful for the general > public? Yes, this would be very nice. VM's pop support allows you to do this. I suggest meditating upon it for a while to get ideas for features if you go hacking upon pop3.el Since I have plenty of memory on all my machines, I just load VM and use its pop retrieval stuff, like so: (setq vm-pop-max-message-size 21000 nnmail-movemail-program 'my-movemail) (defun my-movemail (inbox crashbox) (require 'vm) (vm-pop-move-mail "aventail.com:110:pass:wmperry:*" crashbox) (vm-pop-move-mail "oz.net:110:pass:wmperry:*" crashbox)) -Bill P.