From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1285 Path: news.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.user Subject: Re: nnimap: move spam mail to different group Date: Sun, 06 Oct 2002 00:27:30 +0200 Organization: University of Dortmund, Germany Message-ID: <87adlsjzcd.fsf@crybaby.cs.uni-dortmund.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668084 10650 80.91.229.2 (31 Jan 2006 00:41:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:41:24 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:55 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: pd9e1eed0.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1033859817 26134 217.225.238.208 (5 Oct 2002 23:16:58 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 5 Oct 2002 23:16:58 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:LN499n2ewWnT3l3s5SJ6b5AKoqw= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1425 Original-Lines: 22 X-Gnus-Article-Number: 1425 Tue Jan 17 17:28:55 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1285 Archived-At: sivaramn@sunguru.com (Sivaram Neelakantan) writes: > I'm using gnus 5.9 on ntemacs 21.1 and I want to move my spam mail to > "Deleted Items"(yes, it's MS exchange) folder. As that's a different > group I've subscribed to, how does one automatically move spam mails > to that group? I receive spam from sources, say which has > Subj:FREE||BUY NOW etc. The examples in the manual show splitting to > folders within the same group but not to different groups. Can > someone show some snippets of code to do it? Folders within the same group? Folders in different groups? I don't understand. If your inbox is named "nnimap:INBOX" and Deleted Items is named "nnimap:Deleted Items", then it should Just Work. Only if the prefix of INBOX (ie, "nnimap:") is different from the prefix of Deleted Items, then you have problems. But then my first question would be, why are the prefixes different? kai -- ~/.signature is: umop ap!sdn (Frank Nobis)