Re: Have message-ID set by my email server rather than by Message

2023-12-11 Thread rameiko87
I made some progress. My original problem was that Emacs or one of the components which intervene *locally* generate and introduce the Message-ID no matter the value of message-required-mail-headers. When message-required-mail-headers excludes Message-ID and message-generate-headers-first is

Re: Have message-ID set by my email server rather than by Message

2023-12-11 Thread rameiko87
You can set `message-generate-headers-first' to t and see what headers Message produces when you start editing a message. Good suggestion: I just tried. Now message-generate-headers-first is true, and Message-ID doesn't appear in the message-required-mail-headers. Result: my emails all have Me

Re: Have message-ID set by my email server rather than by Message

2023-12-11 Thread rameiko87
Well, how else do you explain that when I remove Message-ID from message-required-mail-headers and send my email, then the Message-ID is given by the value of message-user-fqdn or when nil, by system-name? As I already said: My guess was that your sendmail program adds a message-id. But the

Re: Have message-ID set by my email server rather than by Message

2023-12-11 Thread Adam Sjøgren
One advantage of your email program setting the Message-ID is that the unique identifier of the email is then known by your email program. Best regards, Adam -- "It was called Tinderbox so we could make the joke,Adam Sjøgren 'the tree is on fire'. Puns are very important in

Re: Have message-ID set by my email server rather than by Message

2023-12-11 Thread rameiko87
Dear Liman, Am I right in understanding it as "my host doesn't know its own hostname (identity), so it's unable to create a useful Message-ID"? Not sure, because my original problem was that Emacs or one of the components which intervene *locally* generate and introduce the Message-ID no mat

Re: Have message-ID set by my email server rather than by Message

2023-12-11 Thread Otto J. Makela
On 12/11/23 11:01, Lars-Johan Liman wrote: FWIW, I agree with Arash's sentiment. This, again, goes back to the notion that a message without a Message-ID is (more or less) invalid. Therefore any and all e-mail software (user agents and transport agents alike) is disciplined to add a Message-ID to

Re: Have message-ID set by my email server rather than by Message

2023-12-11 Thread Lars-Johan Liman
FWIW, I agree with Arash's sentiment. This, again, goes back to the notion that a message without a Message-ID is (more or less) invalid. Therefore any and all e-mail software (user agents and transport agents alike) is disciplined to add a Message-ID to any message without one, to avoid transferri

Re: Have message-ID set by my email server rather than by Message

2023-12-10 Thread Arash Esbati
rameik...@posteo.net writes: > Well, how else do you explain that when I remove Message-ID from > message-required-mail-headers and send my email, then the Message-ID > is given by the value of message-user-fqdn or when nil, by > system-name? As I already said: My guess was that your sendmail pro

Re: Have message-ID set by my email server rather than by Message

2023-12-10 Thread Lars-Johan Liman
Hi rameiko87! I know more about message standards then I know about the internals of GNUS. That's why I come from that angle. I'm beginning to understand your undelying problem, though, and I realise it's a generic one that more people "ought to have". Am I right in understanding it as "my host d

Re: Have message-ID set by my email server rather than by Message

2023-12-09 Thread Bob Newell
Not 100% relevant, and I have posted an earlier version before, but I have fun with the following which completely randomizes the Message ID and user agent for every email I send from gnus. (Sometimes you actually want this; think about it!) However some SMTP servers rudely go ahead and substit

Re: Have message-ID set by my email server rather than by Message

2023-12-09 Thread rameiko87
I'm not sure if Message is ignoring the value of `message-required-mail-headers'. Well, how else do you explain that when I remove Message-ID from message-required-mail-headers and send my email, then the Message-ID is given by the value of message-user-fqdn or when nil, by system-name? My

Re: Have message-ID set by my email server rather than by Message

2023-12-09 Thread Arash Esbati
rameik...@posteo.net writes: > This is perfect! So I customized message-required-mail-headers. Now > your explanation shows why I should not remove the mail headers, but > still I wonder about the meaning of the lines cited above from the > Gnus manual. And I also wonder what is the meaning of the

Re: Have message-ID set by my email server rather than by Message

2023-12-09 Thread rameiko87
Dear Lars-Johan Liman, Thank you very much for your kind and exhaustive reply. I read in the Gnus manual: If you have no idea what to insert for "yourmachine.yourdomain.tld", you’ve got several choices. You can either ask your provider if he allows you to use something like yourUserName.userf

Re: Have message-ID set by my email server rather than by Message

2023-12-08 Thread Lars-Johan Liman
Hi! Message-ID is one of the very few _mandatory_ header lines, so a message without one is not a valid RFC 5322 (the sucessor of RFC 822) message. Therefore the message "must not/cannot" leave your computer without one. It has to be set on the computer if it's being shipped by a mail-related prot

Have message-ID set by my email server rather than by Message

2023-12-08 Thread rameiko87
Hello everyone! I'm on Emacs 29.1 and I use Message and sendmail for writing emails. I don't load Gnus but I do the easy C-x m. I can't get Emacs not to add Message-ID to my outgoing mail! I would be very grateful if some of you could help me out a little, I'm kind of a beginner. I set https://