* Re: nnimap-split-rule
[not found] <ubzn0lk600u.fsf@church.lcs.mit.edu>
@ 2003-01-29 17:33 ` Simon Josefsson
0 siblings, 0 replies; only message in thread
From: Simon Josefsson @ 2003-01-29 17:33 UTC (permalink / raw)
Alex Rolfe <arolfe@mit.edu> writes:
> I'm trying to use the form for nnimap-split-rule that allows different
> rules for each virtual server. It starts as:
>
> (setq nnimap-split-rule '(("psrg.lcs.mit.edu" ("Inbox" (("location" "\\(To\\|Cc\\):.*location@")
> ("journalauto" "From:.*@us.nature.com"))))
>
> and goes on similarly for other servers. When I try to respool articles
> from the Inbox (to test this rule), I get an IMAP error; looking at the
> imap log indicates that APPEND is being called with no args by
> imap-message-append. Looking at the backtrace :
>
> imap-message-append(nil #<buffer *copy article*> nil nil " *nnimap* psrg.lcs.mit.edu")
> nnimap-request-accept-article(nil "psrg.lcs.mit.edu" t)
> gnus-request-accept-article(nil (nnimap "psrg.lcs.mit.edu" (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-list-pattern "Inbox" "INBOX" "Mail/*")) t t)
> gnus-summary-move-article(nil nil (nnimap "psrg.lcs.mit.edu" (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-list-pattern "Inbox" "INBOX" "Mail/*")) copy)
> gnus-summary-copy-article(nil nil (nnimap "psrg.lcs.mit.edu" (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-list-pattern "Inbox" "INBOX" "Mail/*")))
> gnus-summary-respool-article(nil (nnimap "psrg.lcs.mit.edu" (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-list-pattern "Inbox" "INBOX" "Mail/*")))
> call-interactively(gnus-summary-respool-article)
>
> it seems that the destination mailbox name isn't being set, so I suspect
> I may have formated the split rule incorrectly.
>
> I'm using gnus 5.8.8 with emacs 21.1.1.
>
> Any suggestions?
As Kai said, respooling doesn't work with nnimap. It can be fixed,
but meanwhile, move your message to your nnimap-split-inbox, mark it
unread (or whatever depending on nnimap-split-predicate) and M-g it to
test the rule.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-29 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <ubzn0lk600u.fsf@church.lcs.mit.edu>
2003-01-29 17:33 ` nnimap-split-rule Simon Josefsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).