Gnus development mailing list
 help / color / mirror / Atom feed
From: TRS-80 <lists.trs-80@isnotmyreal.name>
To: ding@gnus.org
Subject: Re: Splitting mail between multiple addresses
Date: Tue, 15 Nov 2022 23:17:26 -0500	[thread overview]
Message-ID: <87tu2zmt2h.fsf@isnotmyreal.name> (raw)
In-Reply-To: <86tu31dz35.fsf@gnu.org>

Greg Farough <gregf@gnu.org> writes:

> On Fri, Nov 11 2022, TRS-80 <lists.trs-80@isnotmyreal.name> wrote:
>
>> Hello list,
>>
>> I have a couple different email addresses (each as secondary select
>> methods), with nntp (Gmane) as primary select method.
>>
>> I have some rules defined in `nnmail-split-methods', and then under each
>> email, I have `nnimap-split-methods' set to 'default'.  This seemed to
>> be the only way to get it to work.
>>
>> I would really like to set up splitting rules under each email address,
>> that would be specific to mail coming to that address.  But I could not
>> figure out how to do so.
>>
>> Any tips would be appreciated.
>
> I use something like this:
>
> (nnimap "Email"
>         <snip>
>         (nnmail-split-methods nnmail-split-fancy)
> 	(nnimap-split-methods nnmail-split-fancy)
> 	(nnmail-split-fancy (|
> 	                    ("from" "ding@gnus.org" "INBOX.gnus")
>                             ("from" "morgoth@mordorenterprises.org" junk)
>                             ..and so on..
>                             )))
>
> And that works.
>
> -g

If I am understanding you correctly, I should be able to define both
`nnmail-split-methods' and `nnimap-split-methods' /per email/?

In my case, I am using simple (not fancy) but maybe it doesn't matter.

Thanks a lot for the pointer!  I'll try it and report back how it goes.

Cheers,
TRS-80



  reply	other threads:[~2022-11-16  4:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12  1:29 TRS-80
2022-11-13 15:14 ` Emanuel Berg
2022-11-14 21:07 ` Greg Farough
2022-11-16  4:17   ` TRS-80 [this message]
2022-11-16 16:31     ` Greg Farough

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=87tu2zmt2h.fsf@isnotmyreal.name \
    --to=lists.trs-80@isnotmyreal.name \
    --cc=ding@gnus.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).