I have two mail accounts, [email protected]
and [email protected]
. I would like to archive messages I send from either one in a corresponding "sent mail" folder ([email protected]:Sent Items
and [email protected]:[Google Mail]/Sent Mail
).
I tried to set
(setq gnus-message-archive-group
'(("uni" "[email protected]:Sent Items")
("gmail" "[email protected]:[Google Mail]/Sent Mail")
))
but that does not set Gcc (new messages don't have a Gcc; any solution here?). I thus went back to (setq
gnus-message-archive-group "[email protected]:Sent Items")
which sets Gcc
correctly (for the main account [email protected]
) if I open a new message in *Group* via m
.
I then tried to use gcc-self
via gnus-parameters
to archive the sent mails correctly:
(setq gnus-parameters
`((,(rx "[email protected]")
(gcc-self . "[email protected]:Sent Items"))
(,(rx "[email protected]")
(gcc-self . "[email protected]:[Google Mail]/Sent Mail"))))
The manual (http://www.gnus.org/manual/gnus_28.html) says that if gcc-self
is
a string, it is simply inserted literally as Gcc header. I made the following
experience: Wherever I start a new message in *Group* via C-u m
(with m
, Gcc
is "[email protected]:Sent Items" as mentioned before), Gcc is taken to be
the name the point was on in *Group* before m
was hit. So if the point is on
[email protected]:Drafts
, Gcc will be Gcc:
[email protected]:Drafts
(instead of [email protected]:[Google
Mail]/Sent Mail
). How can this be fixed and messages archived in the corresponding sent mail folders if written via C-u m
? In other words, why are the Gcc
's not set correctly?
[this is on Emacs 24.3.50.1, Gnus v5.13]