[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FAQ 5.2 still correct? [solved]

From: Memnon Anon
Subject: Re: FAQ 5.2 still correct? [solved]
Date: Tue, 8 Jul 2008 18:51:20 -0700 (PDT)
User-agent: G2/1.0


As I said, gnus per se did not add the message-id.
I confirmed this again by using
(setq message-generate-headers-first t).
No Message-Id was generated, but mail in ~/Mail/queued-mail/
had a Message-Id.
So I had a look at smtpmail.el. This file contains these lines:

            ;; Insert a `Message-Id:' field if there isn't one yet.
            (goto-char (point-min))
            (unless (re-search-forward "^Message-Id:" delimline t)
              (insert "Message-Id: " (message-make-message-id) "\n"))

I just
- copied the file to smtpmail-changed.el
- added ;; in front of each of those three lines
- changed the last line to (provide 'smtpmail-changed)
- changed my .gnus to (require 'smtpmail-changed)

Now, my Message-Id is set by the google smtp-server ;)

Thanks to the author of smtpmail.el for extensively documenting
each single step in there!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]