all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* user-agent is missing in sent email headers
@ 2022-12-15 14:42 jindam.vani
  2022-12-15 14:56 ` Herbert J. Skuhra
  2022-12-15 17:07 ` Eric Abrahamsen
  0 siblings, 2 replies; 12+ messages in thread
From: jindam.vani @ 2022-12-15 14:42 UTC (permalink / raw)
  To: help-gnu-emacs

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?

;; .gnus
(setq gnus-select-method '(nnnil ""))

(add-to-list 'gnus-secondary-select-methods
             '(nnmaildir ""
              (directory "~/.Maildir/")
              (get-new-mail t)
              (directory-files nnheader-directory-files-safe)))

(setq mail-user-agent 'gnus-user-agent)
(setq read-mail-command 'gnus)

(setq mail-sources
                  '((pop :server "disroot.org"
                         :user "jindam.vani@disroot.org")))

(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "disroot.org")

(setq smtpmail-stream-type 'ssl)
(setq smtpmail-servers-requiring-authorization ".*")
(setq smtpmail-smtp-service 465)
(setq smtpmail-starttls-credentials '(("disroot.org" 465 nil nil)))

;; .emacs
(setq make-backup-files nil)
(setq create-lockfiles nil)
(setq auto-save-default nil)
(setq frame-title-format "%b")
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(canlock-password "ff816ad05b9a5accc83c04cdffdc44e7854b5ab8")
 '(debug-on-error t)
 '(display-battery-mode nil)
 '(initial-buffer-choice "~/")
 '(send-mail-function 'mailclient-send-it)
 '(smtpmail-smtp-server "disroot.org")
 '(smtpmail-smtp-service 25 t))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:family "fixed" :foundry "misc" :slant normal :weight normal :height 231 :width normal)))))
(add-to-list 'load-path "~/.emacs.d/jl-encrypt")
(require 'jl-encrypt)
(require 'epa-file) (setq epa-file-encrypt-to "46BB3F32")
(setq mail-user-agent 'gnus-user-agent)


[1] https://c.im/@jindam_vani/109516965307129546
[2] https://c.im/@jindam_vani/109515651458422170
[3] https://github.com/CypherpunkArmory/UserLAnd

i am sending this email using gnus emacs.

regards,
jindam, vani



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

* Re: user-agent is missing in sent email headers
  2022-12-15 14:42 user-agent is missing in sent email headers jindam.vani
@ 2022-12-15 14:56 ` Herbert J. Skuhra
  2022-12-15 15:03   ` tomas
  2022-12-15 17:07 ` Eric Abrahamsen
  1 sibling, 1 reply; 12+ messages in thread
From: Herbert J. Skuhra @ 2022-12-15 14:56 UTC (permalink / raw)
  To: help-gnu-emacs

On Thu, 15 Dec 2022 15:42:13 +0100, jindam.vani@disroot.org wrote:
> 
> 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. 

Maybe your e-mail provider removes the "User-Agent"-header.

--
Herbert



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

* Re: user-agent is missing in sent email headers
  2022-12-15 14:56 ` Herbert J. Skuhra
@ 2022-12-15 15:03   ` tomas
  2022-12-15 16:24     ` jindam.vani
  2022-12-15 20:18     ` Herbert J. Skuhra
  0 siblings, 2 replies; 12+ messages in thread
From: tomas @ 2022-12-15 15:03 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

On Thu, Dec 15, 2022 at 03:56:43PM +0100, Herbert J. Skuhra wrote:
> On Thu, 15 Dec 2022 15:42:13 +0100, jindam.vani@disroot.org wrote:
> > 
> > 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. 
> 
> Maybe your e-mail provider removes the "User-Agent"-header.

That would be pretty nasty. Besides, I can't imagine this
provider doing it (others maybe).

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* Re: user-agent is missing in sent email headers
  2022-12-15 15:03   ` tomas
@ 2022-12-15 16:24     ` jindam.vani
  2022-12-15 20:18     ` Herbert J. Skuhra
  1 sibling, 0 replies; 12+ messages in thread
From: jindam.vani @ 2022-12-15 16:24 UTC (permalink / raw)
  To: tomas; +Cc: help-gnu-emacs

<tomas@tuxteam.de> writes:

> On Thu, Dec 15, 2022 at 03:56:43PM +0100, Herbert J. Skuhra wrote:
>> On Thu, 15 Dec 2022 15:42:13 +0100, jindam.vani@disroot.org wrote:
>> > 
>> > 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. 
>> 
>> Maybe your e-mail provider removes the "User-Agent"-header.
>
> That would be pretty nasty. Besides, I can't imagine this
> provider doing it (others maybe).

just now tooted disroot. if yes they remove, i 
am happy, if not, no issues....

regards,
jindam, vani

> Cheers



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

* Re: user-agent is missing in sent email headers
  2022-12-15 14:42 user-agent is missing in sent email headers jindam.vani
  2022-12-15 14:56 ` Herbert J. Skuhra
@ 2022-12-15 17:07 ` Eric Abrahamsen
  2022-12-15 17:37   ` tomas
                     ` (2 more replies)
  1 sibling, 3 replies; 12+ messages in thread
From: Eric Abrahamsen @ 2022-12-15 17:07 UTC (permalink / raw)
  To: jindam.vani; +Cc: help-gnu-emacs

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



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

* Re: user-agent is missing in sent email headers
  2022-12-15 17:07 ` Eric Abrahamsen
@ 2022-12-15 17:37   ` tomas
  2022-12-15 19:08     ` Eric Abrahamsen
  2022-12-15 18:02   ` jindam.vani
  2023-01-18  5:35   ` Emanuel Berg
  2 siblings, 1 reply; 12+ messages in thread
From: tomas @ 2022-12-15 17:37 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

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.

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* Re: user-agent is missing in sent email headers
  2022-12-15 17:07 ` Eric Abrahamsen
  2022-12-15 17:37   ` tomas
@ 2022-12-15 18:02   ` jindam.vani
  2023-01-18  5:35   ` Emanuel Berg
  2 siblings, 0 replies; 12+ messages in thread
From: jindam.vani @ 2022-12-15 18:02 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: jindam.vani, help-gnu-emacs

Eric Abrahamsen <eric@ericabrahamsen.net> 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.

[1] https://lists.gnu.org/archive/html/help-gnu-emacs/2022-12/msg00492.html

regards,
jindam, vani



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

* Re: user-agent is missing in sent email headers
  2022-12-15 17:37   ` tomas
@ 2022-12-15 19:08     ` Eric Abrahamsen
  2022-12-15 19:55       ` tomas
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Abrahamsen @ 2022-12-15 19:08 UTC (permalink / raw)
  To: help-gnu-emacs

<tomas@tuxteam.de> 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 <eric@ericabrahamsen.net> 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.




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

* Re: user-agent is missing in sent email headers
  2022-12-15 19:08     ` Eric Abrahamsen
@ 2022-12-15 19:55       ` tomas
  0 siblings, 0 replies; 12+ messages in thread
From: tomas @ 2022-12-15 19:55 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

On Thu, Dec 15, 2022 at 11:08:26AM -0800, Eric Abrahamsen wrote:
> <tomas@tuxteam.de> writes:
> 
> > On Thu, Dec 15, 2022 at 09:07:40AM -0800, Eric Abrahamsen wrote:
> >> jindam.vani@disroot.org writes:

[...]

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

[...]

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

Oh, I missed that tidbit: Eric's observation is compelling, then.

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* Re: user-agent is missing in sent email headers
  2022-12-15 15:03   ` tomas
  2022-12-15 16:24     ` jindam.vani
@ 2022-12-15 20:18     ` Herbert J. Skuhra
  2022-12-16  5:10       ` tomas
  1 sibling, 1 reply; 12+ messages in thread
From: Herbert J. Skuhra @ 2022-12-15 20:18 UTC (permalink / raw)
  To: help-gnu-emacs

On Thu, 15 Dec 2022 16:03:35 +0100, <tomas@tuxteam.de> wrote:
> 
>On Thu, Dec 15, 2022 at 03:56:43PM +0100, Herbert J. Skuhra wrote:
>> Maybe your e-mail provider removes the "User-Agent"-header.
> 
> That would be pretty nasty. Besides, I can't imagine this
> provider doing it (others maybe).

https://www.privacy-handbuch.de/handbuch_31.htm

disroot.org (NL) bietet neben Services wie XMPP, Etherpads... auch
kostenfreie E-Mail Accounts als hochwertigen, privacy-freundlichen
Service und wird durch Spenden finanziert. IP-Adressen der Nutzer und
User-Agent Kennungen werden aus dem E-Mail Header entfernt.

--
Herbert



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

* Re: user-agent is missing in sent email headers
  2022-12-15 20:18     ` Herbert J. Skuhra
@ 2022-12-16  5:10       ` tomas
  0 siblings, 0 replies; 12+ messages in thread
From: tomas @ 2022-12-16  5:10 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

On Thu, Dec 15, 2022 at 09:18:22PM +0100, Herbert J. Skuhra wrote:
> On Thu, 15 Dec 2022 16:03:35 +0100, <tomas@tuxteam.de> wrote:
> > 
> >On Thu, Dec 15, 2022 at 03:56:43PM +0100, Herbert J. Skuhra wrote:
> >> Maybe your e-mail provider removes the "User-Agent"-header.
> > 
> > That would be pretty nasty. Besides, I can't imagine this
> > provider doing it (others maybe).
> 
> https://www.privacy-handbuch.de/handbuch_31.htm
> 
> disroot.org (NL) bietet neben Services wie XMPP, Etherpads... auch
> kostenfreie E-Mail Accounts als hochwertigen, privacy-freundlichen
> Service und wird durch Spenden finanziert. IP-Adressen der Nutzer und
> User-Agent Kennungen werden aus dem E-Mail Header entfernt.

I see. While understandable, I still doubt it's a good idea for
a MTA to mess with the mail data, at least by default.

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* Re: user-agent is missing in sent email headers
  2022-12-15 17:07 ` Eric Abrahamsen
  2022-12-15 17:37   ` tomas
  2022-12-15 18:02   ` jindam.vani
@ 2023-01-18  5:35   ` Emanuel Berg
  2 siblings, 0 replies; 12+ messages in thread
From: Emanuel Berg @ 2023-01-18  5:35 UTC (permalink / raw)
  To: help-gnu-emacs

Eric Abrahamsen wrote:

> (setq gnus-visible-headers
>       (concat "^User-Agent:\\|" gnus-visible-headers))

If you have that the default (gnus) it will expand to, I think

  User-Agent: Gnus/5.13 (Gnus v5.13)

Don't know why it says the same thing twice?

-- 
underground experts united
https://dataswamp.org/~incal




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

end of thread, other threads:[~2023-01-18  5:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-15 14:42 user-agent is missing in sent email headers jindam.vani
2022-12-15 14:56 ` Herbert J. Skuhra
2022-12-15 15:03   ` tomas
2022-12-15 16:24     ` jindam.vani
2022-12-15 20:18     ` Herbert J. Skuhra
2022-12-16  5:10       ` tomas
2022-12-15 17:07 ` Eric Abrahamsen
2022-12-15 17:37   ` tomas
2022-12-15 19:08     ` Eric Abrahamsen
2022-12-15 19:55       ` tomas
2022-12-15 18:02   ` jindam.vani
2023-01-18  5:35   ` Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.