* Configure mail responses headers to use Gcc anddddd not Fcc header in Emacs
@ 2011-11-12 7:29 Olivier Berger
2011-11-13 17:21 ` Olivier Berger
0 siblings, 1 reply; 2+ messages in thread
From: Olivier Berger @ 2011-11-12 7:29 UTC (permalink / raw)
To: notmuch
Hi.
I'm using notmuch together with a local dovecot imap server, and with
Gnus in Emacs.
When sending mails from notmuch, I'd like to be able to have a
nnimap+localdovecot:Sentmail added for instance, instead of a Fcc
header.
Is this possible ?
I can see one way which would be to hack a brutal replacement of Fcc by
Gcc in notmuch-maildir-fcc.el, but maybe there's something smarter ;)
Thanks in advance.
Best regards,
--
Olivier BERGER
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Configure mail responses headers to use Gcc anddddd not Fcc header in Emacs
2011-11-12 7:29 Configure mail responses headers to use Gcc anddddd not Fcc header in Emacs Olivier Berger
@ 2011-11-13 17:21 ` Olivier Berger
0 siblings, 0 replies; 2+ messages in thread
From: Olivier Berger @ 2011-11-13 17:21 UTC (permalink / raw)
To: notmuch
Olivier Berger <olivier.berger@it-sudparis.eu> writes:
> Hi.
>
> I'm using notmuch together with a local dovecot imap server, and with
> Gnus in Emacs.
>
> When sending mails from notmuch, I'd like to be able to have a
> nnimap+localdovecot:Sentmail added for instance, instead of a Fcc
> header.
>
> Is this possible ?
>
Responding to myself.
The problem was that I had removed the Fcc addition made by notmuch hook
as it was redundant when sending mails with Gnus, which uses a Gcc.
But I cannot seem to use Gnu's Gcc in mail sent from withing notmuch,
actually.
So I've made it so that Gnus won't add a Gcc, and so that Fcc is set
correctly for my local dovecot.
So, in the end, I have customized these variables :
'(gnus-outgoing-message-group
(lambda nil
(goto-char (point-max))
(cond
((message-field-value "Fcc")
"nnimap+localdovecot:Sentmail")
(t nil))))
'(message-directory "~/Maildir/")
'(notmuch-fcc-dirs ".Sentmail")
So in notmuch, Fcc makes it saving the file in my ~/Maildir/.Sentmail/cur
which suits dovecot, and if I'm sending from Gnus, the Gcc is set
according to my nnimap folder definitions.
Hope this helps.
Best regards,
--
Olivier BERGER
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-13 17:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-12 7:29 Configure mail responses headers to use Gcc anddddd not Fcc header in Emacs Olivier Berger
2011-11-13 17:21 ` Olivier Berger
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).