From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18166 Path: news.gmane.org!not-for-mail From: Fkqqrr Newsgroups: gmane.emacs.gnus.user Subject: Re: make sent emails synced in imap sent folder Date: Tue, 08 Mar 2016 20:07:07 +0800 Organization: GNU/Linux Message-ID: <878u1tnpg4.fsf@zhtux.jiantu.boxes> References: <87vb4y1hkp.fsf@zhtux.jiantu.boxes> <87vb4x5tid.fsf@hillenius.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457439021 11231 80.91.229.3 (8 Mar 2016 12:10:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 12:10:21 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Mar 08 13:10:15 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1adGSm-0006Hb-EN for gegu-info-gnus-english@m.gmane.org; Tue, 08 Mar 2016 13:10:08 +0100 Original-Received: from localhost ([::1]:33992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adGSl-0001aJ-Qq for gegu-info-gnus-english@m.gmane.org; Tue, 08 Mar 2016 07:10:07 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 44 Original-NNTP-Posting-Host: 218.199.31.209 Original-X-Trace: quimby.gnus.org 1457438907 17969 218.199.31.209 (8 Mar 2016 12:08:27 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 8 Mar 2016 12:08:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:4BWpkOV8wQGWklUvBJPIOT+TR9w= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:89295 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:18166 Archived-At: Gijs Hillenius writes: > On 7 Mar 2016, fkqqrr@autistici.org wrote: > >> >> When sending email in Gnus, 'sent' emails by default go into >> 'archive' folder locally. >> >> How to set sent emails to IMAP sent folder? > > I use Ha, this is a straightward solution. > > ;; Archive Sent Mail On Imap Server > (setq gnus-message-archive-method > '(nnimap "name-of-your-server-here")) Like `imap.gmail.com'? I have a doubt. Use this setting, all sent items (news and mails) are placed in email server's 'sent' folder. 1. If I am right, mail server can do this automatcially when sending email. This is from my past experience. No matter send by browser or client, sent emails are synced with 'sent' folder in mail server. This is done, I think, by IMAP server. 2. Some mail servers, all sent emails go to local archive sent group (%Y-%m). Meanwhile, they are synced with mail server 'sent' folder too. However, some other email servers won't sync! This is why I need explicit archive method and archive group setting. Do you have any clues why some sync while others not? > > ;; E-mail archive, per month > (setq gnus-message-archive-group > '((if (message-news-p) > "INBOX.misc-news" > (concat "INBOX.sent." (format-time-string "%Y-%m"))))) > -- Whatever you are, be a good one