Gnus development mailing list
 help / color / mirror / Atom feed
* using IMAP for archiving
@ 1999-11-07 19:36 Denys Duchier
  1999-11-07 20:42 ` Jody M. Klymak
  1999-11-08  8:24 ` Kai Großjohann
  0 siblings, 2 replies; 3+ messages in thread
From: Denys Duchier @ 1999-11-07 19:36 UTC (permalink / raw)


Is it possible to use gnus-message-archive-{group,method} to archive
messages that I send out?  I tried the following, but nothing happened
except that I now have this additional Gcc header automatically
inserted:

(setq gnus-message-archive-group
      '((concat (if (message-news-p) "news-" "mail-")
		(format-time-string "%b-%Y" (current-time)))))

(setq gnus-message-archive-method
      '(nnimap "archive"
	       (nnimap-address "mail.ps.uni-sb.de")
	       (nnimap-list-pattern ("Mail/archive/*"))
	       (nnfolder-inhibit-expiry t)
	       (nnfolder-get-new-mail nil)))
-- 
Dr. Denys Duchier			Denys.Duchier@ps.uni-sb.de
Forschungsbereich Programmiersysteme	(Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45	http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50			Phone: +49 681 302 5618
66041 Saarbruecken, Germany		Fax:   +49 681 302 5615


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: using IMAP for archiving
  1999-11-07 19:36 using IMAP for archiving Denys Duchier
@ 1999-11-07 20:42 ` Jody M. Klymak
  1999-11-08  8:24 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Jody M. Klymak @ 1999-11-07 20:42 UTC (permalink / raw)
  Cc: ding


Denys,

I have this for archiving messages on my nnimap server....

;; archive stuff...
(setq gnus-message-archive-group
      '((concat "nnimap+kraken:mail/sent-items." (format-time-string
			   "%Y-%m" (current-time)))))

Cheers,  Jody

>>>>> "DD" == Denys Duchier <Denys.Duchier@ps.uni-sb.de> writes:

    DD> Is it possible to use gnus-message-archive-{group,method} to
    DD> archive messages that I send out?  I tried the following, but
    DD> nothing happened except that I now have this additional Gcc
    DD> header automatically inserted:

    DD> (setq gnus-message-archive-group '((concat (if
    DD> (message-news-p) "news-" "mail-") (format-time-string "%b-%Y"
    DD> (current-time)))))

    DD> (setq gnus-message-archive-method '(nnimap "archive"
    DD> (nnimap-address "mail.ps.uni-sb.de") (nnimap-list-pattern
    DD> ("Mail/archive/*")) (nnfolder-inhibit-expiry t)
    DD> (nnfolder-get-new-mail nil))) -- Dr. Denys Duchier
    DD> Denys.Duchier@ps.uni-sb.de Forschungsbereich
    DD> Programmiersysteme (Programming Systems Lab) Universitaet des
    DD> Saarlandes, Geb. 45 http://www.ps.uni-sb.de/~duchier Postfach
    DD> 15 11 50 Phone: +49 681 302 5618 66041 Saarbruecken, Germany
    DD> Fax: +49 681 302 5615

-- 
Jody Klymak                         APL/School of Oceanography,
Doctoral Candidate                  University of Washington
mailto:jklymak@apl.washington.edu   (206)-685-9080
http://www.ocean.washington.edu/people/grads/jklymak/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: using IMAP for archiving
  1999-11-07 19:36 using IMAP for archiving Denys Duchier
  1999-11-07 20:42 ` Jody M. Klymak
@ 1999-11-08  8:24 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 1999-11-08  8:24 UTC (permalink / raw)


Denys Duchier <Denys.Duchier@ps.uni-sb.de> writes:

> (setq gnus-message-archive-group
>       '((concat (if (message-news-p) "news-" "mail-")
> 		(format-time-string "%b-%Y" (current-time)))))
> 
> (setq gnus-message-archive-method
>       '(nnimap "archive"
> 	       (nnimap-address "mail.ps.uni-sb.de")
> 	       (nnimap-list-pattern ("Mail/archive/*"))
> 	       (nnfolder-inhibit-expiry t)
> 	       (nnfolder-get-new-mail nil)))

I think you're storing your outgoing messages in a group "news-foo",
but the server in question only knows groups like "Mail/archive/foo".

I'm not sure, though.

You could also set gnus-message-archive-group to "nnimap:foo" which
works just like any other nnimap group (maybe you need
"nnimap+blarfl:foo" if your nnimap group names look like that).

kai
-- 
This gubblick contains many nonsklarkish English flutzpahs,
but the overall pluggandisp can be glorked from context. -- David Moser


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-11-08  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-07 19:36 using IMAP for archiving Denys Duchier
1999-11-07 20:42 ` Jody M. Klymak
1999-11-08  8:24 ` Kai Großjohann

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).