Gnus development mailing list
 help / color / mirror / Atom feed
From: Christian Barthel <bch@online.de>
To: ding@gnus.org
Subject: Rewrite incoming message text?
Date: Fri, 04 Sep 2020 22:16:04 +0200	[thread overview]
Message-ID: <87pn71fgcb.fsf@barthel.ch> (raw)

I am fetching my email from a POP server with something like
that
   (setq mail-sources
      '((pop :server "server"
             :port 995
             :user "$mailaddr"
             ... )))
and I am sorting emails with `nnmail-split-methods'.  Is it
possible to rewrite parts of those mails?

Example: I am often seeing googlegroups with a subject like:

   Subject: [GROUPNAME] email subject text

I'd like to remove the "[GROUPNAME]" string because this email
will be sorted with nnmail-split-methods into the correct group.

-- 
Christian Barthel <bch@online.de>


             reply	other threads:[~2020-09-04 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-04 20:16 Christian Barthel [this message]
2020-09-04 20:31 ` Adam Sjøgren
2020-09-05  8:54   ` Christian Barthel

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=87pn71fgcb.fsf@barthel.ch \
    --to=bch@online.de \
    --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).