From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: user-agent is missing in sent email headers Date: Thu, 15 Dec 2022 11:08:26 -0800 Message-ID: <87wn6sfpsl.fsf@ericabrahamsen.net> References: <87a63oh9yb.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7903"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:mBx3wLjDuhjxu5DbS2P/Apv6AUg= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 15 20:09:21 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p5tbd-0001o0-SR for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Dec 2022 20:09:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5tay-0002qk-95; Thu, 15 Dec 2022 14:08:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5taw-0002qL-4r for help-gnu-emacs@gnu.org; Thu, 15 Dec 2022 14:08:38 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5tau-0007KN-CM for help-gnu-emacs@gnu.org; Thu, 15 Dec 2022 14:08:37 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1p5tar-0000nv-IM for help-gnu-emacs@gnu.org; Thu, 15 Dec 2022 20:08:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141778 Archived-At: writes: > On Thu, Dec 15, 2022 at 09:07:40AM -0800, Eric Abrahamsen wrote: >> jindam.vani@disroot.org writes: >> > > [...missing user agent header] > >> You're not doing anything wrong, Gnus doesn't display all headers by >> default; what is shown is determined by the value of >> `gnus-visible-headers'. The "t" key displays all headers, which is why >> you see it there. If you want to always see it, you can do something >> like: >> >> (setq gnus-visible-headers >> (concat "^User-Agent:\\|" gnus-visible-headers)) >> > > If I understand correctly, jindam is missing the User-Agent: header in > his outgoing mail, i.e. Gnus is not putting it in the mail's headers. > > Looking at their mails in fact, there is no User-Agent: in the headers. > Yours do have one. Oops! I was confused by the Discord conversation, that made it sound like a display issue. jindam.vani@disroot.org writes: > Eric Abrahamsen writes: > >> jindam.vani@disroot.org writes: >> >>> please excuse, i am posting here suggested by akib >>> on mastadon.[1] i am running emacs on debian >>> bullseye on userland.[2] when i send mail using >>> gnus and the "User-Agent: Gnus/5.13 (Gnus v5.13) >>> Emacs/27.1 (gnu/linux)" is not added in sent >>> email headers. >>> >>> when i click t in nnfolder+archive:sent.2022-12, >>> it shows "User-Agent: Gnus/5.13 (Gnus v5.13) >>> Emacs/27.1 (gnu/linux)", before it was showing >>> only from, subject, to, date. >>> >>> conversation between akib and me on mastodon.[2] >>> what am i doing wrong? >> >> You're not doing anything wrong, Gnus doesn't display all headers by >> default; what is shown is determined by the value of >> `gnus-visible-headers'. The "t" key displays all headers, which is why >> you see it there. If you want to always see it, you can do something >> like: >> >> (setq gnus-visible-headers >> (concat "^User-Agent:\\|" gnus-visible-headers)) > > your email [1] to list contains user-agent: from, > subject, date, user-agent. i would prefer to display > user-agent for all my emails sent to this list > and everybody. Sorry, I misunderstood the issue. If you're seeing the header on messages in your Sent folder, then it seems like the problem must be somewhere between your machine and the list server -- I'm not sure there's much you can do locally.