Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: niasterisk@grrlz.net
To: info-gnus-english@gnu.org
Subject: message-ignored-mail-headers is ignored
Date: Sat, 30 Apr 2016 10:58:54 +0200	[thread overview]
Message-ID: <87r3dnpj5d.fsf@libertad.pw> (raw)

No matter what I try and set in message-ignored-mail-headers,
gnus always sets the user-agent, even if ignored. Is there a
mistake in these settings or something I need to add?


(setq message-generate-headers-first t)

(setq message-ignored-mail-headers
      "^Gcc:\\|^Fcc:\\|^Xref:\\|^User-Agent:\\|^Resent-Fcc:\\|^X-Draft-From:\\|^X-Gnus-Agent-Meta-Information:\\|^X-Mailer:\\|^X-Newsreader:")

;;(setq message-ignored-news-headers
;;      "^[BGF]cc:\\|^Resent-Fcc:\\|^Xref:\\|^X-Draft-From:\\|^X-Gnus-Agent-Meta-Information:\\|^User-Agent:\\|^X-Mailer:\\|^NNTP-Posting-Host:\\|^X-Newsreader:")

;;(setq message-forward-ignored-headers
;;      "^Content-Transfer-Encoding:\\|^X-Gnus\\|^Received:\\|^X-MIME-Autoconverted:"
;;      message-forward-before-signature nil
;;      message-make-forward-subject-function 'message-forward-subject-fwd)


Thanks,
NG
-- 



             reply	other threads:[~2016-04-30  8:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-30  8:58 niasterisk [this message]
2016-04-30  9:15 ` Adam Sjøgren
2016-04-30  9:53   ` niasterisk
2016-04-30  9:52 ` Emanuel Berg

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=87r3dnpj5d.fsf@libertad.pw \
    --to=niasterisk@grrlz.net \
    --cc=info-gnus-english@gnu.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).