From: Bertram Scharpf Date: 2007-09-04T07:34:48+09:00 Subject: Re: subject line Hi, Am Montag, 03. Sep 2007, 07:48:25 +0900 schrieb Devi Web Development: > I don't know who would make this sort of decision, but could we put > [RubyTalk] or [Ruby] or something at the beginning of all messages? It's a > fairly common practice on listserves. You can easily build the feature yourself when you like it. . list_ids = addrs_norm "List-Id" if list_ids.any? or received =~ /\blists@bertram-scharpf\.de\b/ then subject =~ /^ *unsubscribe *$/ and done case list_ids when "ruby-talk.ruby-lang.org" then case body when /\bLazaridis\b/i, /\bIlias\b/i then done end # ---- here comes what you asked for subj = headers[ :subject].first.sub /^(\s*re:)*\s*/i, "\\1 [RubyTalk] " headers.replace :subject, subj # ---- deposit "=linux/ruby-talk" when "ruby-core.ruby-lang.org" then deposit "=linux/ruby-core" end deposit "=spam-suspicion" end Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de