From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9611 Path: main.gmane.org!not-for-mail From: "William M. Perry" Newsgroups: gmane.emacs.gnus.general Subject: Re: md5 header. Date: Fri, 24 Jan 1997 15:43:54 -0800 Message-ID: <199701242343.PAA07188@newman> References: <6031.854146590@bear.cs.uidaho.edu> Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149609 19454 80.91.224.250 (20 Oct 2002 21:33:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:33:29 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id PAA18839 for ; Fri, 24 Jan 1997 15:55:05 -0800 Original-Received: from newman (root@newman.aventail.com [38.225.141.10]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 25 Jan 1997 00:45:36 +0100 Original-Received: from kramer.in.aventail.com.aventail.com (wmperry@kramer [192.168.1.12]) by newman (8.6.12/8.6.9) with SMTP id PAA07188; Fri, 24 Jan 1997 15:43:54 -0800 Original-To: faried nawaz In-Reply-To: <6031.854146590@bear.cs.uidaho.edu> Errors-to: wmperry@aventail.com X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 >Hi, > >I got mail today from a recruiter, and noticed a header -- > >Content-MD5: Qmc/RDOYSOXijHmKWjXK6A== > >How would I go about making gnus to generate that for my messages? (require 'md5) (let ((md5 (md5 (current-buffer) beginning-of-article end-of-article))) (goto-char (point-min)) (insert "Content-MD5: " md5 "\n")) On an appropriate hook. This requires you have w3 or something else with the 'md5.el' package (or XEmacs 19.14+ that has md5 builtin). Not sure how to determine beginning-of-article and end-of-article though. -Bill P.