message-required-news-headers a list of header symbols. These
headers will either be automatically generated, or, if that's
impossible, they will be prompted for. The following symbols are valid:
message-make-fromfunction, which depends on the
message-user-organization-filewill be used if this variable is
t. This variable can also be a string (in which case this string will be used), or it can be a function (which will be called with no parameters and should return a string to be used).
user-mail-address) until a probably valid fully qualified domain name (FQDN) was found.
Fromheader of the article being replied to.
message-expiresvariable. It is highly deprecated and shouldn't be used unless you know what you're doing.
message-distribution-functionvariable. It is a deprecated and much misunderstood header.
message-user-pathfurther controls how this
Pathheader is to look. If it is
nil, use the server name as the leaf node. If it is a string, use the string. If it is neither a string nor
nil, use the user name only. However, it is highly unlikely that you should need to fiddle with this variable at all.
In addition, you can enter conses into this list. The car of this cons
should be a symbol. This symbol's name is the name of the header, and
the cdr can either be a string to be entered verbatim as the value of
this header, or it can be a function to be called. This function should
return a string to be inserted. For instance, if you want to insert
Mime-Version: 1.0, you should enter
(Mime-Version . "1.0")
into the list. If you want to insert a funny quote, you could enter
(X-Yow . yow) into the list. The function
yow will then be called without any arguments.
If the list contains a cons where the car of the cons is
optional, the cdr of this cons will only be inserted if it is
If you want to delete an entry from this list, the following Lisp snippet might be useful. Adjust accordingly if you want to remove another element.
(setq message-required-news-headers (delq 'Message-ID message-required-news-headers))
Other variables for customizing outgoing news articles:
(signature . disabled)
to this list.
Valid checks are:
Approvedheader, which is something only moderators should include.
Fromheader seems nice.
Message-IDlooks syntactically ok.
Newsgroupsheader exists and is not empty.
Followup-toheaders contains repeated group names.
Reply-Toheader looks ok.
Senderheader if the
Fromheader looks odd.
Message-IDheader looks ok.
Followup-toheader to shorten the number of groups to post to.
Subjectheader exists and is not empty.
Followup-toheaders are valid syntactically.
All these conditions are checked by default, except for
for which the check is disabled by default if
message-insert-canlock is non-
nil (see Canceling News).