From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18172 Path: news.gmane.org!not-for-mail From: fkqqrr@autistici.org Newsgroups: gmane.emacs.gnus.user Subject: Re: make sent emails synced in imap sent folder Date: Thu, 10 Mar 2016 11:21:05 +0800 Organization: What me? Message-ID: <87lh5r6mse.fsf@zhtux.jiantu.boxes> References: <87vb4y1hkp.fsf@zhtux.jiantu.boxes> <87d1r5nqzj.fsf@zhtux.jiantu.boxes> 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 1457580611 805 80.91.229.3 (10 Mar 2016 03:30:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 03:30:11 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Mar 10 04:30:10 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 1adrId-000896-52 for gegu-info-gnus-english@m.gmane.org; Thu, 10 Mar 2016 04:30:07 +0100 Original-Received: from localhost ([::1]:45912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adrIc-0007gQ-IT for gegu-info-gnus-english@m.gmane.org; Wed, 09 Mar 2016 22:30:06 -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: 37 Original-NNTP-Posting-Host: 218.199.31.209 Original-X-Trace: quimby.gnus.org 1457580144 26050 218.199.31.209 (10 Mar 2016 03:22:24 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 10 Mar 2016 03:22:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:zHUAifGOLeFPPxFm490LLl7AaNs= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:89301 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:18172 Archived-At: Eric Abrahamsen writes: > Fkqqrr writes: > >> Eric Abrahamsen writes: >> >>> fkqqrr writes: >>> >>>> When sending email in Gnus, 'sent' emails by default go into >>>> 'archive' folder locally. >>>> >>>> How to set sent emails to IMAP sent folder? >>> >>> You can set the `gnus-message-archive-group' option to the desired >>> "Sent" folder. If you have more than one account you're trying to set >>> up, you can set that option to a function that takes one argument, a >>> group name, and returns the appropriate archive group. In my case: >>> >>> (defun my-archiver-figure-outer (group) >>> (cond ((string-match-p "nnimap\\+This-Account\\|gmane" group) >>> "nnimap+This-Account:Sent") >>> ((string-match-p "nnimap\\+That-Account" group) >>> "nnimap+That-Account:Sent"))) >>> >>> (setq gnus-message-archive-group #'my-archiver-figure-outer) >> By the way, this method will send the email again to nnimap sent >> folder on email server? > > That's right, it will result in the sent mail being pushed to your imap > server. There isn't any "automatic" connection between your SMTP server > and your imap mail store, so you have to do the archiving yourself. I thought the IMAP and SMTP server are 'auto-connected'. So sent items: connect to both receiver's IMAP and my IMAP (archive) -- Who am I? Where am I from? Where would I go?