* Dynamically switching gnus-message-archive-group?
@ 2016-09-23 6:55 Loris Bennett
2016-09-23 9:03 ` Rasmus
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Loris Bennett @ 2016-09-23 6:55 UTC (permalink / raw)
To: info-gnus-english
Hi,
If I have two IMAP accounts, each on a different server, is there a way
to switch
gnus-message-archive-group
such that it depends on, say, the 'from'-address of the current
gnus-posting-style?
Cheers,
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dynamically switching gnus-message-archive-group?
2016-09-23 6:55 Dynamically switching gnus-message-archive-group? Loris Bennett
@ 2016-09-23 9:03 ` Rasmus
2016-09-23 21:12 ` Arkady Grudzinsky
[not found] ` <mailman.2924.1474665188.22741.info-gnus-english@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Rasmus @ 2016-09-23 9:03 UTC (permalink / raw)
To: info-gnus-english
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:
> Hi,
>
> If I have two IMAP accounts, each on a different server, is there a way
> to switch
>
> gnus-message-archive-group
>
> such that it depends on, say, the 'from'-address of the current
> gnus-posting-style?
I used the Gcc header. Could that work?
Rasmus
--
9000!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dynamically switching gnus-message-archive-group?
2016-09-23 6:55 Dynamically switching gnus-message-archive-group? Loris Bennett
2016-09-23 9:03 ` Rasmus
@ 2016-09-23 21:12 ` Arkady Grudzinsky
[not found] ` <mailman.2924.1474665188.22741.info-gnus-english@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Arkady Grudzinsky @ 2016-09-23 21:12 UTC (permalink / raw)
To: info-gnus-english
On Fri, Sep 23 2016, Loris Bennett wrote:
> Hi,
>
> If I have two IMAP accounts, each on a different server, is there a way
> to switch
>
> gnus-message-archive-group
>
> such that it depends on, say, the 'from'-address of the current
> gnus-posting-style?
Whatever you specify under your imap account pertains to that
account only:
(setq gnus-secondary-select-methods
'(
(nnimap "imap1"
(nnimap-address "imaps.server1.com")
...
(gnus-message-archive-group "Archive")
...
)
(nnimap "imap2"
(nnimap-address "imaps.server2.com")
...
(gnus-message-archive-group "Archive")
)
In this example, mail sent from the first account will go to
nnimap+imap1:Archive and mail sent from the second account will
go to nnimap+imap2:Archive. This worked for me when I used Gnus
with two remote imap servers.
Gcc also controls where your sent mail is saved. This can be
sent per group or globally in your .gnus
https://www.emacswiki.org/emacs/SentMail
gcc-self can be of interest.
--
Arkady
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.2924.1474665188.22741.info-gnus-english@gnu.org>]
* Re: Dynamically switching gnus-message-archive-group?
[not found] ` <mailman.2924.1474665188.22741.info-gnus-english@gnu.org>
@ 2016-09-27 8:04 ` Loris Bennett
0 siblings, 0 replies; 4+ messages in thread
From: Loris Bennett @ 2016-09-27 8:04 UTC (permalink / raw)
To: info-gnus-english
Arkady Grudzinsky <agrudzinsky@gmail.com> writes:
> On Fri, Sep 23 2016, Loris Bennett wrote:
>
>> Hi,
>>
>> If I have two IMAP accounts, each on a different server, is there a way
>> to switch
>>
>> gnus-message-archive-group
>>
>> such that it depends on, say, the 'from'-address of the current
>> gnus-posting-style?
>
> Whatever you specify under your imap account pertains to that
> account only:
>
> (setq gnus-secondary-select-methods
> '(
> (nnimap "imap1"
> (nnimap-address "imaps.server1.com")
> ...
> (gnus-message-archive-group "Archive")
> ...
> )
> (nnimap "imap2"
> (nnimap-address "imaps.server2.com")
> ...
> (gnus-message-archive-group "Archive")
> )
>
> In this example, mail sent from the first account will go to
> nnimap+imap1:Archive and mail sent from the second account will
> go to nnimap+imap2:Archive. This worked for me when I used Gnus
> with two remote imap servers.
>
> Gcc also controls where your sent mail is saved. This can be
> sent per group or globally in your .gnus
>
> https://www.emacswiki.org/emacs/SentMail
>
> gcc-self can be of interest.
Thanks for the information. I have gone for the solution using
gnus-message-archive-group, which works well for me.
Cheers,
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-09-27 8:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 6:55 Dynamically switching gnus-message-archive-group? Loris Bennett
2016-09-23 9:03 ` Rasmus
2016-09-23 21:12 ` Arkady Grudzinsky
[not found] ` <mailman.2924.1474665188.22741.info-gnus-english@gnu.org>
2016-09-27 8:04 ` Loris Bennett
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).