Article View: news.software.readers
Article #259918Re: [slrn] Modify signature based on newsgroup
From: Keith
Date: Sun, 10 Jan 2016 08:57
Date: Sun, 10 Jan 2016 08:57
65 lines
3361 bytes
3361 bytes
Did you make a sepearte file for your identities and include
that in your .slrnrc file?
%%MACROS%%
set macro_directory "News/macros"
interpret "identity.sl"
interpret "my_id.sl"
then in my_id.sl file you create the new identity for those newsgroups:
%second id for newsreader
identity->add_new ("slrn", "^news.software.reader");
identity->set_from ("slrn", "kilowattradio", "gmail.com.REMOVE");
identity->set_real ("slrn", "Keith");
identity->set_replyto ("slrn", "reply-to");
identity->set_signature ("slrn", "/home/USER/.signature2");
identity->set_signoffstring ("slrn", "signoff_string");
identity->set_followupstring ("slrn", "followup_string");
identity->set_replystring ("slrn", "reply_string");
identity->set_organization ("slrn", "\"Every Child should be a Wanted Child\"");
identity->set_customheaders ("slrn", " ");
identity->set_followupcustomheaders ("slrn", " ");
identity->set_replycustomheaders ("slrn", "reply_custom_headers");
identity->set_regexp ("slrn", "regular_expression");
identity->set_saveto ("slrn", "file.txt");
identity->set_description ("slrn", "slrn newsreader");
On 2016-01-10, rj <rj@panix.com.invalid> wrote:
> On Fri, 08 Jan 2016 17:04:19 +0000, Adam Funk <a24061@ducksburg.com> wrote:
>>
>> The identity.sl stuff lets you do that, although it's a bit ugly
>
>
> Very, and examples are few. If I want my "From:" address to be:
>
> "From: rj <rj@poonix.com>"
>
> in, say, all the misc.* groups, instead of:
>
> "From: rj <rj@poonix.com.invalid>"
>
> (which is what I want in all groups *other* than the misc hierarchy),
> what do I put in the "my_identities.sl" file? Right now I have
>
> identity->add_new ("rj\@poonix\.com", "misc\.*");
>
> and ESC-I (entered while I'm inside a "misc.*" group) still shows:
>
> "From: rj <rj@poonix.com.invalid>"
>
> at the top of the "Identity on misc.*" box that ESC-I brings up, but
> toward the bottom of the box, I see:
>
> Current ID: New Identity ('rj@panix.com')
> Matching RE: misc.*
>
> and when I try to post or follow-up in a misc.* group, the "invalid"
> is still in my address in the "From:" header.
>
> Reading through the "identities.sl" file, it's not at all obvious how
> this is to be done, AFAICT.
>
Technical Details
Message-ID:
<n6t6di$440$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<slrnn8vlkv.1uv8.g.kreme@amelia.local> <jp65mcxebi.ln2@news.ducksburg.com> <n6sprs$51l$1@reader1.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <n6t6di$440$1@dont-email.me> Subject: Re: [slrn] Modify signature based on newsgroup Date: Sun, 10 Jan 2016 08:57:22 +0000 From: Keith <kilowattradio@gmail.com.REMOVE> References: <slrnn8vlkv.1uv8.g.kreme@amelia.local> <jp65mcxebi.ln2@news.ducksburg.com> <n6sprs$51l$1@reader1.panix.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 65 Injection-Date: Sun, 10 Jan 2016 08:57:22 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="48cd24371235269b15599f9fb32249eb"; logging-data="4224"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AWZW1fBrw9W43h4puciu2+VFu+2vMA7c=" User-Agent: slrn/1.0.2 (Linux) Cancel-Lock: sha1:Mkd/lOo5XSFKuLYrhHSaGjvJRbQ= X-Received-Bytes: 3241 X-Received-Body-CRC: 3367117345