🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #198748

Re: [Dialog] How2: In replies, vary "from" based upon ...

#198748
From: Steve Wertz
Date: Sun, 29 Apr 2007 16:07
58 lines
3739 bytes
On Sat, 28 Apr 2007 15:13:48 -0400, Charles Lasitter wrote:

> Background detail:
> 
> Lunarpages doesn't limit me in terms of the forwarding / alias
> accounts that I can have, so I can have a very small number of email
> accounts with my domain and a very large number of alias / forwarding
> accounts pointing to them.
> 
> This is important for me because I'm going to try to go thru life
> without resorting to the usual discardable email addresses (even
> though things like Sneakmail let you get quite creative if you want
> ...)
> 
> I will be handing out different alias accounts to different people
> that I deal with -- one for each vendor pretty much.  As soon as the
> spam starts coming in, that will tell me exactly who is selling my
> info or whose system has been cracked.  It will also let me cut them
> out of the picture without bothering everyone else with new email
> update requests.
> 
> In order for this to work well, my vendors should only ever see me
> replying to their emails with ONE email address -- the same one I
> issued them when I signed up for an account at their web site.
> 
> Right now I have to look at all the headers and see which address they
> sent the email to, and then use only that address in replying to them.
> As you can imagine, this is tedious and easy to overlook on my part.
> 
> So what I am looking for (I guess) would be an event script that
> would, upon opening the compose window, look at the senders original
> "To:" address and drop that same value right in the "from" field on
> the outbound message.
> 
> Sorry that was so long winded, but if you know how this might work I'd
> be happy to hear from you.  And if you just want to denegrate the
> objective as stupid I guess I'm not so interested in hearing from you
> and arguing about it.
> 
> Many thanks in advance.

With a little tweaking, this script from the library comes
closest to what you'd want to do.

http://www.40tude.com/dialog/wiki/index.php/CustomizeUserAgent

You'd just need to get the original "To:" address into
AddOnChangeHeader and tweak the line:

Message.Strings[i] := Message.Strings[i] + AddOnChangeHeader;

The tricky part is that the "To:" address is already gone once
you start to compose a message unless you include it as part of
the attributions of the outgoing message.  There doesn't seem to
be any apparent event that triggers when you open a composition
window.

-sw
Technical Details
Message-ID: <lrbrjazq3tsa$.dlg@sqwertz.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr14.news.prodigy.net.POSTED!666d6152!not-for-mail
References: <y81t44ozi2mo$.dlg@ncdm.com>

Show Full Headers
Complete Article Headers
Message-ID: <lrbrjazq3tsa$.dlg@sqwertz.com>
Subject: Re: [Dialog] How2: In replies, vary "from" based upon ...
Date: Sun, 29 Apr 2007 16:07:59 GMT
From: Steve Wertz <swertz@cluemail.compost>
References: <y81t44ozi2mo$.dlg@ncdm.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr14.news.prodigy.net.POSTED!666d6152!not-for-mail
Newsgroups: news.software.readers
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
X-No-Archive: yes
Lines: 58
NNTP-Posting-Host: 75.60.181.6
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr14.news.prodigy.net 1177862879 ST000 75.60.181.6 (Sun,
NNTP-Posting-Date: Sun, 29 Apr 2007 12:07:59 EDT
X-UserInfo1: SCSYASJGDZSYB_X[TBCBNWX@RJ_XPDLMN@GZ_GYO^BVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL