Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* message-ignored-mail-headers is ignored
@ 2016-04-30  8:58 niasterisk
  2016-04-30  9:15 ` Adam Sjøgren
  2016-04-30  9:52 ` Emanuel Berg
  0 siblings, 2 replies; 4+ messages in thread
From: niasterisk @ 2016-04-30  8:58 UTC (permalink / raw)
  To: info-gnus-english

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
-- 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: message-ignored-mail-headers is ignored
  2016-04-30  8:58 message-ignored-mail-headers is ignored niasterisk
@ 2016-04-30  9:15 ` Adam Sjøgren
  2016-04-30  9:53   ` niasterisk
  2016-04-30  9:52 ` Emanuel Berg
  1 sibling, 1 reply; 4+ messages in thread
From: Adam Sjøgren @ 2016-04-30  9:15 UTC (permalink / raw)
  To: info-gnus-english

niasterisk@grrlz.net writes:

> 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?

An alternative is to set the variable gnus-user-agent to nil.


  Best regards,

    Adam

-- 
 "Do you really think that you're lost?                       Adam Sjøgren
  And that you'll never find the way"                    asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: message-ignored-mail-headers is ignored
  2016-04-30  8:58 message-ignored-mail-headers is ignored niasterisk
  2016-04-30  9:15 ` Adam Sjøgren
@ 2016-04-30  9:52 ` Emanuel Berg
  1 sibling, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2016-04-30  9:52 UTC (permalink / raw)
  To: info-gnus-english

niasterisk@grrlz.net writes:

> No matter what I try and set in
> message-ignored-mail-headers, gnus always sets the
> user-agent, even if ignored.

Interesting, because the docstring is:

    *Regexp of headers to be removed unconditionally
    before mailing.

I guess there are exceptions to unconditionality
as well!

PS. What does the asterisk mean prefixing the first
    word? Is it some subset of or particular
    regexp style?

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 29 Blogomatic articles -                   



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: message-ignored-mail-headers is ignored
  2016-04-30  9:15 ` Adam Sjøgren
@ 2016-04-30  9:53   ` niasterisk
  0 siblings, 0 replies; 4+ messages in thread
From: niasterisk @ 2016-04-30  9:53 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> niasterisk@grrlz.net writes:
>
>> 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?
>
> An alternative is to set the variable gnus-user-agent to nil.
>
>
>   Best regards,
>
>     Adam

Seems like for email my settings already worked, only news was
not set. I looked again at raw text of emails I did sent.

Thanks!

NG
-- 


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-30  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-30  8:58 message-ignored-mail-headers is ignored niasterisk
2016-04-30  9:15 ` Adam Sjøgren
2016-04-30  9:53   ` niasterisk
2016-04-30  9:52 ` Emanuel Berg

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).