Ted Zlatanov | 9 Jul 16:11
X-Face

Re: FAQ 5.2 still correct? [solved]

On Tue, 8 Jul 2008 18:51:20 -0700 (PDT) Memnon Anon <gegendosenfleisch <at> googlemail.com> wrote: 

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

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

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

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

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

Is this required for Google SMTP?  We could make it a smtpmail.el option
that you can just turn off as needed (per server).

Ted

Gmane