From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/461 Path: news.gmane.org!not-for-mail From: Nevin Kapur Newsgroups: gmane.emacs.gnus.user Subject: Re: nnmail-fancy-expiry-targets questions Date: Thu, 16 May 2002 13:34:20 -0400 Organization: Mathematical Sciences, The Johns Hopkins University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667428 7005 80.91.229.2 (31 Jan 2006 00:30:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:30:28 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:27:37 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!stargate.gts.cz!fu-berlin.de!uni-berlin.de!fermat.mts.jhu.EDU!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: fermat.mts.jhu.edu (128.220.17.18) Original-X-Trace: fu-berlin.de 1021570467 22882209 128.220.17.18 (16 [77476]) X-Face: #i!d%y+1tilG}1ua9z&9waMLqE>H+;pUwWFetZe]4uWiv;VE:GHLnT1\Gj]>l^(]R#}sD@E"(@?vMv,yb@`?32;i~D$6x6m*%!3gPyp-rb$}.%QpxZ!3Y+jESN5[s7SL_68Sc`Aek)A$M|h++b/2VjR.k+Tw4X+0a%:K-kcUeMZ(rs?}v\eG({5J&IPS Mail-Copies-To: never User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i686-pc-linux) Cancel-Lock: sha1:VbeGbnXZe/VbQtHAZ1dyUYBVGuM= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:601 Original-Lines: 42 X-Gnus-Article-Number: 601 Tue Jan 17 17:27:37 2006 Xref: news.gmane.org gmane.emacs.gnus.user:461 Archived-At: anti-spam-pranav@cisco.com (Pranav K. Tiwari) writes: > 1. I am trying to set nnmail-fancy-expiry-targets to a value such that all > articles matching "to" or "cc" to a regexp are expired into > "nnml:expired.%Y-%m", and the others are expired to 'delete. How should > I specify 'delete as an option? With the current implementation, you can't. But see the end of the post for a workaround. > 2. As a workaround, I tried setting the following based on what I found in > the info: > > (setq nnmail-fancy-expiry-targets > '(("to" "pranav" "nnml:expired.%Y-%m") > ("from" ".*" "nnml:expired-other.%Y-%m"))) > > > The problem with this is that the articles in nndraft:draft don't have a > from string and I get an error whenever I try to send a message which is > saved in drafts folder. I also get an error if I try to DEL something in > drafts group. Yup. I set the group-parameter expiry-target to 'delete on the nndrafts group so that it doesn't go through the fancy expiry process. > Any hints on what nnmail-fancy-expiry-targets should be set to? Articles that don't match anything in nnmail-fancy-expiry-targets are 'deleted. So what you want in 1. can be achieved via (setq nnmail-fancy-expiry-targets '(("to" "pranav" "nnml:expired.%Y-%m") ("cc" "pranav" "nnml:expired.%Y-%m"))) You will still need to make sure that nndrafts groups don't use n-f-e-t. -- Nevin