Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: fkqqrr@autistici.org
To: info-gnus-english@gnu.org
Subject: Re: make sent emails synced in imap sent folder
Date: Thu, 10 Mar 2016 11:55:50 +0800	[thread overview]
Message-ID: <87h9gf6l6h.fsf@zhtux.jiantu.boxes> (raw)
In-Reply-To: <mailman.7199.1457581246.843.info-gnus-english@gnu.org>

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> fkqqrr@autistici.org writes:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> Fkqqrr <fkqqrr@autistici.org> writes:
>>>
>>>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>>>
>>>>> fkqqrr <fkqqrr@autistici.org> 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'.
>
> Well, it depends on the email service you're using. Most commercial
> providers will "auto-connect" the two behind the scenes, because that's
> what users expect, but in fact the two protocols have nothing to do with
> each other (not only that, your SMTP account and your imap account are
> theoretically completely separate accounts).
>
> You haven't given us a whole lot of information here -- I assume you're
> using an email provider of some kind, which should be doing this
> connection for you. Are you sure you need Gccs at all?
My problem was solved. I just don't the idea behind.
>
>> So sent items: connect to both receiver's IMAP and my IMAP (archive)
>
> Not quite: message-mode ends up connecting to your SMTP server, which
> sends the message through one or more mail transfer agents, until it
> ends up in the receiver's imap (or other) mail account. If there's a Gcc
> header in your sent message, Gnus will also put a copy of the message in
> your archive group. So sending a message potentially involves two
> copies: one to SMTP, the other to your imap account.
That clarifies my clouds.
>
> Hope that helps,
> Eric
>
>

-- 
Who am I? Where am I from? Where would I go?

  parent reply	other threads:[~2016-03-10  3:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 14:35 fkqqrr
2016-03-07 15:13 ` Eric Abrahamsen
2016-03-08  7:16 ` Gijs Hillenius
2016-03-08 12:07   ` Fkqqrr
2016-03-08 12:41   ` Fkqqrr
2016-03-08 14:53     ` Gijs Hillenius
2016-03-09  2:06       ` Emcc
     [not found] ` <mailman.6969.1457363607.843.info-gnus-english@gnu.org>
2016-03-08 11:12   ` Fkqqrr
2016-03-08 11:33   ` Fkqqrr
2016-03-10  1:30     ` Eric Abrahamsen
     [not found]     ` <mailman.7195.1457573482.843.info-gnus-english@gnu.org>
2016-03-10  3:21       ` fkqqrr
2016-03-10  3:40         ` Eric Abrahamsen
     [not found]         ` <mailman.7199.1457581246.843.info-gnus-english@gnu.org>
2016-03-10  3:55           ` fkqqrr [this message]
2016-03-10  7:38       ` fkqqrr
2016-03-10  7:47         ` Eric Abrahamsen
     [not found]         ` <mailman.7214.1457596037.843.info-gnus-english@gnu.org>
2016-03-10  8:33           ` fkqqrr
2016-05-04  7:21           ` Alice Bob
2016-06-08  2:13             ` Eric Abrahamsen
     [not found]             ` <mailman.1102.1465352106.1216.info-gnus-english@gnu.org>
2016-06-08 13:58               ` Alice Bob
2016-06-09  1:11                 ` Eric Abrahamsen
2016-03-09  2:11   ` Emcc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9gf6l6h.fsf@zhtux.jiantu.boxes \
    --to=fkqqrr@autistici.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).