>>>>> Gabor Z. Papp wrote: >| (defun my-gnus-raze-spam () >| "Invoke SpamAssassin reporting , then mark it as expirable." >| (interactive) >| (let ((decode (get 'gnus-summary-save-in-pipe :decode))) >| (put 'gnus-summary-save-in-pipe :decode nil) >| (unwind-protect >| (gnus-summary-save-in-pipe "spamassassin -r") >| (put 'gnus-summary-save-in-pipe :decode decode))) >| (gnus-summary-mark-as-expirable 1)) > With this code, using "cat | /path/to/command" instead of > "spamassassin -r" I can't pipe the full raw article with headers, only > with From/To/Subject/Date headers. What I'm missing? Oops, I forgot to take account of the `:headers' property for `gnus-summary-save-in-pipe'. I've fixed it in the Gnus CVS trunk. If you think nothing of updating your Gnus, update and install it, and use the following instead: