originally (Question ID: 75763)
hi there~
i hope some kind soul will be able to help me. i have been posting on
usenet for many years now and it is only recently that the spam that
results from it has gotten pretty bad. i would like to know how to
'munge' the from: line on my postings from trn. i have read the man
pages for trn and there is some information that i think might pertain
to this puzzle, but i do not know how to use the information:
Interpretation and Interpolation
Many of the strings that trn handles are subject to
interpretations of several types. Under filename expansion,
an initial "~/" is translated to the name of your home
directory, and "~name" is translated to the login directory
for the user specified. Filename expansion will also expand
an initial environment variable, and also does the
backslash, caret and percent expansion mentioned below.
All interpreted strings go through backslash, caret and per-
cent interpretation. The backslash escapes are the normal
ones (such as \n, \t, \033, etc.). The caret escapes indi-
cate control codes (such as ^i, ^l, etc.). If you wish to
pass through a backslash or a caret it must be escaped with
a backslash. The special percent escapes are similar to
printf percent escapes. These cause the substitution of
various run-time values into the string. The following are
currently recognized:
[deleted...]
%D "Distribution:" line from the current article.
%f "From:" line from the current article, or the
"Reply-To:" line if there is one. This differs
from %t in that comments (such as the full name) are
not stripped out with %f.
[deleted]
end of man page excerpt...
how do i use this information to achieve my desire? or am i looking
in the wrong direction?
from usenet search using key words ["how to" munge from trn]:
"Yes, you can do it. Just add the From: line in the NEWSHEADER
setting."
what is the NEWSHEADER setting? is this an environmental value? when
i type setenv, i see many values, none of which are NEWSHEADER. from
the prompt would i type something like:
setenv NEWSHEADER From: mymungedemail@REMOVEME.myschool.edu
?
also from my usenet search:
"Gravity complies, though with all the silly people who now munge
their addresses in the naive belief it'll cut down on spam, one has to
usually hand-edit email reply addresses anyway."
[gravity is a newsreader that the poster of the quote believes in]
anyways, all thoughtful replies, comments and answers gratefully
accepted. if i dont get an answer that works, i will dutifully
continue slogging through the spam, no problem.
please ask if you need any clarifications!
hahna |