🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Deeptendu Majumder Sat, 27 Feb 1993 21:56
TIN : problem in mailing replies
#3444
Author: Deeptendu Majumder
Date: Sat, 27 Feb 1993 21:56
14 lines
1120 bytes
When I reply to a poster from within TIN, it tries to tag
on the name of the poster after the userid. If his/her name
is not there then TIN uses something like ((null)) instead
(The Name) and that is causing problem with sendmail. I
wanted to know if that is a sendmail problem and if there
is something I can do to prevent TIN from trying to tag 
on the user name when it does not exist.

thanks
d.
-- 
------
"Like a harsh neon streaking  through the velvet darkness 
the whetted knife of Life tore its path through her Dreams"
Re: TIN : problem in mailing replies
#3445
Author: Iain.Lea
Date: Sat, 27 Feb 1993 23:31
15 lines
1190 bytes
Deeptendu Majumder (gt0963d@prism.gatech.EDU) wrote:
:
: When I reply to a poster from within TIN, it tries to tag
: on the name of the poster after the userid. If his/her name
: is not there then TIN uses something like ((null)) instead
: (The Name) and that is causing problem with sendmail.

This has been fixed in the next release.

Iain

--
NAMES  Iain Lea    Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Re: TIN : problem in mailing replies
#3442
Author: Tim Pierce
Date: Sun, 28 Feb 1993 06:59
37 lines
1801 bytes
I sent Iain a patch for this a while ago; I'm not sure if it made it
into PL8.  I don't have a diff handy, but the patch is short: in
post.c, in the code for find_reply_to_addr, there's a paragraph that
looks about like this:

	if (! found) {
		if (arts[respnum].name != arts[respnum].from) {
			sprintf (buf, "%s%s (%s)",
				 arts[respnum].from, add_addr,
				 arts[respnum].name);
			strcpy (from_addr, buf);
		}	
	}

It should read as follows:

	if (! found) {
		if (arts[respnum].name != arts[respnum].from && arts[respnum].name != NULL) { 
			sprintf (buf, "%s%s (%s)",
				 arts[respnum].from, add_addr,
				 arts[respnum].name);
			strcpy (from_addr, buf);
		} else { 
			sprintf (from_addr, "%s%s",
				 arts[respnum].from, add_addr);
		}	
	}

It's standard practice for printf to output the string "(null)" when
handed a NULL pointer in a %s field; sendmail, probably to its
detriment, can't cope with parentheses in a personal name field.
Having tin check for NULL pointers avoids that.

-- 
____ Tim Pierce                / 
\  / twpierce@unix.amherst.edu /               Rocks say goodbye.
 \/ (BITnet: TWPIERCE@AMHERST) / 
Re: TIN : problem in mailing replies
#3452
Author: Anton J Aylward
Date: Mon, 01 Mar 1993 12:32
17 lines
1418 bytes
In the article (<1993Feb27.233154.9375@anl433.uucp>) Iain.Lea@anl433.uucp posted to news.software.readers:
: Deeptendu Majumder (gt0963d@prism.gatech.EDU) wrote:
: :
: : When I reply to a poster from within TIN, it tries to tag
: : on the name of the poster after the userid. If his/her name
: : is not there then TIN uses something like ((null)) instead
: : (The Name) and that is causing problem with sendmail.

: This has been fixed in the next release.

Which will be available when ?

--
Anton J Aylward		| "The body politic is swerving from left to
anton@lethe.gts.org	| right and right to left looking for quick
			| fixes for systemic problems." - Paul Palango,
			|             Journalist, ex The Globe and Mail
Re: TIN : problem in mailing replies
#3467
Author: Iain.Lea
Date: Tue, 02 Mar 1993 07:15
16 lines
1127 bytes
Anton J Aylward (anton@analsyn.gts.org) wrote:
:
: In the article (<1993Feb27.233154.9375@anl433.uucp>) Iain.Lea@anl433.uucp posted to news.software.readers:
: :
: : This has been fixed in the next release.
:
: Which will be available when ?

Probably Q2'93.

Iain

--
NAMES  Iain Lea    Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads