From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3447 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: modifying incoming messages (was: Gnus and SpamAssassin) Date: Thu, 29 Jan 2004 12:53:36 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Message-ID: <4n1xpi8wv3.fsf_-_@collins.bwh.harvard.edu> References: <87y8rv2r88.fsf@uhoreg.ca> <871xpmbre5.fsf@uhoreg.ca> <87oesq9v0i.fsf@uhoreg.ca> <87k73d896z.fsf@uhoreg.ca> <4nznc7yeay.fsf@collins.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669563 19017 80.91.229.2 (31 Jan 2006 01:06:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:06:03 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:14 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!fu-berlin.de!uni-berlin.de!collins.bwh.harvard.EDU!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: collins.bwh.harvard.edu (134.174.9.80) Original-X-Trace: news.uni-berlin.de 1075398900 27775629 134.174.9.80 ([177066]) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (usg-unix-v) Cancel-Lock: sha1:u6kB/9mB0dB6P17rv7OcbgJ7QlY= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3588 Original-Lines: 22 X-Gnus-Article-Number: 3588 Tue Jan 17 17:32:14 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3447 Archived-At: On Wed, 28 Jan 2004, timmcn@bitstream.net wrote: > Ted Zlatanov writes: > >> Remember, you're replacing text when you use that >> call-process-region. > > Well, don't I want it to do that to an extent? I want it to add > "****SPAM****" to the subject or "X-Spam-Flag = YES" or whatever the > precise syntax is. Or is there a different way of doing this? I am not sure what the side effects of modifying an incoming message are. At least in spam.el I avoid it, and the Gnus manual doesn't say it's OK in any examples. I would be very cautious, this is a great way to lose mail or cause errors in Gnus. I hope someone better acquainted with the Gnus backends will speak up on this. Your goal of modifying the message is probably best served by a filter that precedes Gnus in the order of mail delivery. The goal of detecting spam, however, is achievable without modifying the message. Ted