From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3933 Path: news.gmane.org!not-for-mail From: Marcus Frings Newsgroups: gmane.emacs.gnus.user Subject: Re: Leaving message on IMAP account Date: Tue, 29 Jun 2004 23:39:57 +0200 Organization: Schismatrix Message-ID: References: <851xjyjnky.fsf@dec.noos.fr> Reply-To: protagonist@gmx.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138669961 21031 80.91.229.2 (31 Jan 2006 01:12:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:12:41 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:58 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-X-Trace: news.uni-berlin.de kNGv/D0rKDcVBzoq8cToCwSSTK00y/0vgCnS+wtpP+GhjPRAP9 X-Orig-Path: mekong.dyndns.org!not-for-mail X-PGP-Key: 0xE10F502E (DH/DSS) X-PGP-Fingerprint: 53FC 5A87 27BE 1D30 FEB4 861A 948F D6A0 E10F 502E Mail-Copies-To: nobody Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEURISpYn6okYIJpUSv9 //wQEAujiEg2MB+MFuTQAAACaUlEQVR42nWSQW/bMAyFOQ2CrpHbIlfZQ5BrU6HSuf0FQg1W58KY fbVjyPz7oySn7QZMCeKYn997JGHo/nNgvzb7tf0bNF9PNv8oBH+6TnO5zchk0N6Qae8115tvClMe MZ1+aXVTJFVhoDufs1kGOvt1oigA3n498b97rRm86psVAKiPK5iuvW9EdtA7EAA0GCNE7urAzj+a Ak6zUnBnZ4BOv3asMaYqjqQAl2GGILoDCANg3grwUqnzZlOMdVBxClBAiorSNnqlOFWYNgDINwan hErhNtr52PBE0B5BQmBwJiSaaXR0feJcuB65DRQZpCDTT+fWy1UIaFkkgmSgEsYU4uas8yByV8gh nI9cpyh79ppA8BqCZK8CQlSRemeJlBENSBlmgWCQJTFacnRZFLGZlJFVBWAkOzhv/TGxPd8u3PGp gLSOg3cbycDZIc4MZAW0OrJLQpyL9w4icYXIk0TeBxcCAywKrjMOpcT3Su6A8pf4NxyqNw8pkW1S VnkWaV26RG43xVy88l6IjJ7MQwUBqGS4u0DerqtfcvucBRX01iWyluJyVyKQl5iKYvTJWusjHWs3 tWs+7jl6b6dEvoYzqXPY37335NMcuuoFN/BsefpLSrzd76C3jxN3sR1msS/vU+EnIuofr10Fas9A bokoxcdrY2QeI96WuNqY2MzrjrcU5GcG9gOh9dgvjSxA3qzWIUa3Yn/RKGv+Dt4Hnt75OGoWmK8B cRuwH0e7upcHke3DDsI4rZaBGz8ATvA1IG7ejTafCc8yF+Vn+Jq3i/iMil/fvSseCD3eDiR+CevL APj9EL+dPMkfpDkFOqu3+jcAAAAASUVORK5CYII= User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:8jkVQWI2df1d3Sv10MNjvvFiU2E= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4074 Original-Lines: 63 X-Gnus-Article-Number: 4074 Tue Jan 17 17:32:58 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3933 Archived-At: * Bastien wrote: > i setup an IMAP account in mail-sources like this : > ,---- > | (setq mail-sources '((file :path "/var/spool/mail/me") > | (imap :server "ser.ver" > | :user "account" > | :password "******" > | :port "143"))) > `---- > All mails are retrieven from the server, but i don't know how to > *leave* them on it (for access by another machine). I read the > manual, but can't find help on this - surely very common - topic. You have chosen the wrong method. :-) What you have done is this: ,----[ (info "(gnus)Mail Source Specifiers") ] | `imap' | Get mail from a IMAP server. If you don't want to use IMAP as | intended, as a network mail reading protocol (ie with nnimap), for | some reason or other, Gnus let you treat it similar to a POP | server and fetches articles from a given IMAP mailbox. *Note | IMAP::, for more information. `---- But what you want is to configure IMAP as being explained here: (info "(gnus)IMAP") Just put your cursor next to the last bracket and then press C-x C-e. This will directly take you to the info node in the Gnus manual. Here is an example: (setq gnus-secondary-select-methods '((nnimap "your.server" (nnimap-address "your.server") (nnimap-authinfo-file "~/.authinfo") (nnimap-stream ssl) ;; Leave out if you don't use IMAPS (nnimap-list-pattern "INBOX.*")))) You can store User account and password in ~/.authinfo > I also would like to store answers on the IMAP server : is it > possible ? Do you mean that you want to have a copy of your outgoing articles stored on your IMAP server? Yes, this is also possible: (setq gnus-message-archive-group '( (if (message-news-p) "nnimap+your.server:INBOX.sent-news" "nnimap+your.server:INBOX.sent-mail"))) Regards, Marcus -- "Wir hatten einen Weg gefunden, wie wir uns keine Vorwürfe zu machen brauchten: Wir zerhackten sie mit Maschinengewehren in zwei Hälften und legten ihnen dann einen Verband an."