Re: slrnrc for Reply-To

Robert Grimm <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Disorganized
Message-ID <[email protected]>
S. Fishpaste <[email protected]> wrote:
> On Tue, 17 Nov 2009 10:43:47 -0500, John E. Davis in gmane.network.slrn.user wrote:
>> S. Fishpaste <[email protected]> wrote:
>>> I'm using slrn via gmane (obviously) and was wondering what the proper
>>> syntax is for adding a custom Followup-To; string for a specific e-mail list?
>>>
>>>
>>> One of my lists is Debian-User which uses the Followup-To string in order to
>>> direct responses back to the list rather than getting a cc and an onlist
>>> post. Needless duplicates.
>>
>> I am unsure that I understand the question.  Are you asking how to add
>> a "Followup-To" header to an email reply?  Or are you requesting that slrn
>> use the "Followup-To" header to direct email replies?

> Thanks for responding, apologies for being unclear.

>> To add a "Followup-To" header to an email reply, just add it when
>> composing your email, e.g., under the "Subject" header. 

> Yeah I do this (when I remember) I'd rather add it to my slrnrc as more
> often I'm forgetting. I use Gmane for posting to debian-user; so am not
> using slrn as mail user agent but as a regular nntp client. (Hope this makes
> sense)

>> Note that slrn does not use the "Followup-To" header when replying to
>> an email list; rather it uses the "Mail-Followup-To" header, which
>> many email lists use.

> I'm reading and posting to debian-user e-mail list via Gmane (nntp to mail
> gateway).

Not sure if I got you right, but here is what I'm doing for mailinglists.

In .slrnrc:
#v+
interpret headers.sl
#v-
cat $SLRNHOME/macros/headers.sl
#v+
define group_settings()
{
  if (0 == strncmp (current_newsgroup(), "linux.", 6)
  	| 0 == strncmp (current_newsgroup(), "gmane.", 6)) 
  {
    set_string_variable("username", "lists");
    set_string_variable("hostname", "news.robgri.de");
    set_string_variable("replyto", "");
    set_string_variable("custom_headers", "Mail-Copies-To: never");
    set_string_variable("followup_custom_headers", "Mail-Copies-To: never");
  }
  else
  {
    set_string_variable("username", "spam");
    set_string_variable("hostname", "robgri.de");
    set_string_variable("replyto", "Robert Grimm <[email protected]>");
    set_string_variable("custom_headers", "");
    set_string_variable("followup_custom_headers", "");
  }
}
() = register_hook ("pre_article_mode_hook", "group_settings");
#v-

A very simple approach, but you get the idea.

Rob
-- 
When the customer has beaten upon you long enough,
give him what he asks for, instead of what he needs. 
This is very strong medicine and is normally only required once.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.