+(defun gnus-respond-to-confirmation ()
+ "Respond to a Gmane confirmation message."
+ (interactive)
+ (gnus-summary-show-article 'raw)
+ (set-buffer gnus-article-buffer)
+ (let ((buffer-read-only nil))
+ (goto-char (point-min))
+ (gnus-article-goto-header "Original-To")
+ (replace-match "To:"))
+ (let ((auth nil))
+ (when (and (search-forward "Majordomo" nil t)
+ (re-search-forward "auth.*subscribe.*$" nil t))
+ (setq auth (match-string 0)))
+ (message-wide-reply)
+ (goto-char (point-min))
+ (gnus-article-goto-header "Cc")
+ (replace-match "From:")
+ (message-goto-body)
+ (delete-region (point) (point-max))
+ (when auth
+ (insert auth "\n"))))
+