Article View: news.software.readers
Article #259959Re: [slrn] Can I set a non-invalid local email header?
From: Eli the Bearded
Date: Wed, 13 Jan 2016 19:56
Date: Wed, 13 Jan 2016 19:56
71 lines
3804 bytes
3804 bytes
In news.software.readers, Frank Slootweg <this@ddress.is.invalid> wrote:
> Adam Funk <a24061@ducksburg.com> wrote:
>> Does it get any more traditional than the BSD mailx command? That
>> accepts messages to '*.invalid' addresses & passes them on to the
>> MTA, which then bounces them.
> Well, the BSD mailx command predates 1999 by (more than) a decade or
> two. Crap like Thunderbird doesn't have that excuse.
You realize that panix offers UNIX SHELL ACCOUNTS? You know what sort of
newsreaders run on Unix shell accounts? Did you notice that I posted in
the trn3 topic about people on panix using trn3? ("trn -V" tells me
"Trn version: 3.6 (20 Nov 1994)") Are you aware that the MTA component
of rn/trn3/trn4 is largely unchanged since the last time "spam" only
meant a potted meat product?
There are other newsreaders here than trn, but I don't use them and I
can't say how much they've been modernized. I suspect that fro basically
all newsreaders, development stopped about the time news.admin.net-abuse.*
was newgrouped.
> And, not that it matters, but AFAIK/IIRC, mailx doesn't do much with
> headers at all, but leaves that work to the MSA (not MTA), probably
> sendmail in MSA mode.
mailx/send.c
/* $OpenBSD: send.c,v 1.6 1996/06/08 19:48:39 christos Exp $ */
/* $NetBSD: send.c,v 1.6 1996/06/08 19:48:39 christos Exp $ */
/*
* Copyright (c) 1980, 1993
[...]
*/
[...]
/*
* Fork, set up the temporary mail file as standard
* input for "mail", and exec with the user list we generated
* far above.
*/
pid = fork();
if (pid == -1) {
perror("fork");
savedeadletter(mtf);
goto out;
}
if (pid == 0) {
sigset_t nset;
sigemptyset(&nset);
sigaddset(&nset, SIGHUP);
sigaddset(&nset, SIGINT);
sigaddset(&nset, SIGQUIT);
sigaddset(&nset, SIGTSTP);
sigaddset(&nset, SIGTTIN);
sigaddset(&nset, SIGTTOU);
prepare_child(&nset, fileno(mtf), -1);
if ((cp = value("sendmail")) != NOSTR)
cp = expand(cp);
else
cp = _PATH_SENDMAIL;
execv(cp, namelist);
perror(cp);
_exit(1);
}
You can use any mailer that is sendmail: either the compiled in
_PATH_SENDMAIL or the ~/.mailrc version of "set sendmail=PATH".
Elijah
------
yes, the source to mailx was at hand
Technical Details
Message-ID:
<eli$1601131456@qz.little-neck.ny.us>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:
<n6n9ro$8md$1@reader1.panix.com> <dfkibaFde1fU1@mid.individual.net> <fiphmcx1ro.ln2@news.ducksburg.com> <dfnbnrF4im8U1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <eli$1601131456@qz.little-neck.ny.us> Subject: Re: [slrn] Can I set a non-invalid local email header? Date: Wed, 13 Jan 2016 19:56:51 +0000 From: Eli the Bearded <*@eli.users.panix.com> References: <n6n9ro$8md$1@reader1.panix.com> <dfkibaFde1fU1@mid.individual.net> <fiphmcx1ro.ln2@news.ducksburg.com> <dfnbnrF4im8U1@mid.individual.net> 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: Some absurd concept Lines: 71 NNTP-Posting-Host: panix5.panix.com X-Trace: reader1.panix.com 1452715011 26057 166.84.1.5 (13 Jan 2016 19:56:51 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 13 Jan 2016 19:56:51 +0000 (UTC) X-Liz: It's actually happened, the entire Internet is a massive game of Redcode X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix X-US-Congress: Moronic Fucks. X-Attribution: EtB XFrom: is a real address Encrypted: double rot-13 User-Agent: Vectrex rn 2.1 (beta) X-Comments: "'Pray that I don't alter the bargain further.' Welcome Darth Google." -- HonorableSoul X-Received-Bytes: 3639 X-Received-Body-CRC: 148446589