🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #131606

slrn, slang and changing from when replying

#131606
From: Rejo Zenger
Date: Sun, 24 Aug 2003 19:29
40 lines
2131 bytes
Hi,

I have a couple of slang scripts in use (on another host that is) that
alter the From, Reply-To, Approved and Message-Id headers. Everything is
working fine, except when replying by e-mail. What am I doing wrong?

Headers generated when posting to newsgroups:

  From: Rejo Zenger <41061751521f.rejo@smac.rz.nl.eu.org>
  Reply-To: 41061751521r.rejo@smac.rz.nl.eu.org

Headers generated when replying by e-mail:

  Reply-To: 41061569193r.rejo@rz.nl.eu.org
  From: Rejo Zenger <rejo@rz.nl.eu.org>

These do not work. I want to have either <rejo@rz.nl.eu.org> or the
spamtrap <41061751521f.rejo@smac.rz.nl.eu.org> as addresses.

The slang involved:

  define spamtraps_post_hook ()
  {
      variable custom_headers = Fixed_Custom_Headers;
      set_string_variable ("username", sprintf ("4%df.rejo", _time ()));
      set_string_variable ("replyto", sprintf ("4%dr.rejo%s", _time (), "@smac.rz.nl.eu.org"));
      custom_headers += sprintf ("Message-Id: <4%dm.rejo%s>\n", _time (), "@smac.rz.nl.eu.org");
      [...]
  }
  add_post_hook (&spamtraps_post_hook);

And the same as spamtraps_followup_hook.

So, how do I change the From and Reply-to when replying by e-mail?

Thanks in advance,

-- 
Rejo Zenger <rejo@rz.xs4all.nl> - http://rejo.zenger.nl - PGP 0x75FC50F3
Technical Details
Message-ID: <rejo@rz.nl.eu.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <rejo@rz.nl.eu.org>
Subject: slrn, slang and changing from when replying
Date: Sun, 24 Aug 2003 19:29:29 +0000
From: Rejo Zenger <rejo@rz.nl.eu.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail
Newsgroups: news.software.readers
Reply-To: rejo@rz.nl.eu.org
User-Agent: slrn/0.9.7.4 (FreeBSD)
Lines: 39
NNTP-Posting-Date: 24 Aug 2003 21:29:29 CEST
NNTP-Posting-Host: 194.109.3.6
X-Trace: 1061753369 news.xs4all.nl 49100 194.109.3.6:4005
X-Complaints-To: abuse@xs4all.nl