🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by le Sat, 28 Dec 2024 00:34
Has tin forgotten me?
#267713
Author: le
Date: Sat, 28 Dec 2024 00:34
8 lines
1167 bytes
I just installed an upgrade of tin on my FreeBSD machine
and suddenly every post I make has a blank "From:" line
I have to fill in,did configurations get wrecked?

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Re: Has tin forgotten me?
#267706
Author: Urs Janßen
Date: Sat, 28 Dec 2024 05:29
23 lines
2046 bytes
In le@lekno.ws wrote:
> I just installed an upgrade of tin on my FreeBSD machine

manual build from upstream source or used the ports package?

I can't say anything about the ports package, but I had no issues
building and running tin from source on FreeBSD 15.0 (with and
without a carried over tinrc).

> and suddenly every post I make has a blank "From:" line
> I have to fill in,did configurations get wrecked?

there are many ways to configure From inside tin; the usual suscpects
are mail_address in tinrc, from in attributes (see tin(5) and tin(1)),
if none of these are set a fallback of username@[hostname.]domainname
shall kick in (some parts can be set a compile time thers eben at runtime).

I'd start with inspecting your tinrc. e.g.
	grep -E "^mail_a" ${TIN_HOMEDIR:-"$HOME"}/.tin/tinrc
and if unset set your (name and) address there. This can be done from
inside tin via the 'M'enu or when tin is NOT running by editing the file
directly.
	
Re: Has tin forgotten me?
#267707
Author: John McCue
Date: Sat, 28 Dec 2024 14:29
20 lines
1841 bytes
le@lekno.ws wrote:
> 
> I just installed an upgrade of tin on my FreeBSD machine
> and suddenly every post I make has a blank "From:" line
> I have to fill in,did configurations get wrecked?

It has been a while for me on FreeBSD, but did you also
upgrade FreeBSD itself ?  I wonder if the user/password
database needs to be fixed ?

IIRC, there is some command to check /etc/passwd & fix the
datatbase.  This assumes your /etc/passwd entry is fine.

HTH

Also, looks like something is up with your sig :)

-- 
[t]csh(1) - "An elegant shell, for a more... civilized age."
                        - Paraphrasing Star Wars
Re: Has tin forgotten me?
#267709
Author: le
Date: Sat, 28 Dec 2024 17:54
34 lines
2383 bytes
Urs Janßen <urs@buil.tin.org> wrote:
> In le@lekno.ws wrote:
>> I just installed an upgrade of tin on my FreeBSD machine
> 
> manual build from upstream source or used the ports package?

Used synth to build local package repository from ports,
then pkg upgrade.

> I can't say anything about the ports package, but I had no issues
> building and running tin from source on FreeBSD 15.0 (with and
> without a carried over tinrc).

I'm running 13.3 in its last days,about to go to 13.4.
 
>> and suddenly every post I make has a blank "From:" line
>> I have to fill in,did configurations get wrecked?
> 
> there are many ways to configure From inside tin; the usual suscpects
> are mail_address in tinrc, from in attributes (see tin(5) and tin(1)),
> if none of these are set a fallback of username@[hostname.]domainname
> shall kick in (some parts can be set a compile time thers eben at runtime).
> 
> I'd start with inspecting your tinrc. e.g.
>         grep -E "^mail_a" ${TIN_HOMEDIR:-"$HOME"}/.tin/tinrc
> and if unset set your (name and) address there. This can be done from
> inside tin via the 'M'enu or when tin is NOT running by editing the file
> directly.

Will check these.

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Re: Has tin forgotten me?
#267708
Author: le
Date: Sat, 28 Dec 2024 17:57
32 lines
2035 bytes
John McCue <jmccue@magnetar.jmcunx.com> wrote:
> le@lekno.ws wrote:
>> 
>> I just installed an upgrade of tin on my FreeBSD machine
>> and suddenly every post I make has a blank "From:" line
>> I have to fill in,did configurations get wrecked?
> 
> It has been a while for me on FreeBSD, but did you also
> upgrade FreeBSD itself ?  I wonder if the user/password
> database needs to be fixed ?

Have not upgraded FreeBSD yet but am about to soon.
I back up my SSD to an HDD each time I do this so can
check old tin config files from the last time if something
is missing.
 
> IIRC, there is some command to check /etc/passwd & fix the
> datatbase.  This assumes your /etc/passwd entry is fine.

So far as I know,no problem there.

> HTH
> 
> Also, looks like something is up with your sig :)

You are referring to my manually patched-in textfile
that I carefully make sure CAN be quoted back at me by
anyone inclined to react? 

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Re: Has tin forgotten me?
#267710
Author: le
Date: Mon, 30 Dec 2024 23:20
38 lines
2572 bytes
le@lekno.ws wrote:
> Urs Janßen <urs@buil.tin.org> wrote:
>> In le@lekno.ws wrote:
>>> I just installed an upgrade of tin on my FreeBSD machine
>> 
>> manual build from upstream source or used the ports package?
> 
> Used synth to build local package repository from ports,
> then pkg upgrade.
> 
>> I can't say anything about the ports package, but I had no issues
>> building and running tin from source on FreeBSD 15.0 (with and
>> without a carried over tinrc).
> 
> I'm running 13.3 in its last days,about to go to 13.4.
>  
>>> and suddenly every post I make has a blank "From:" line
>>> I have to fill in,did configurations get wrecked?
>> 
>> there are many ways to configure From inside tin; the usual suscpects
>> are mail_address in tinrc, from in attributes (see tin(5) and tin(1)),
>> if none of these are set a fallback of username@[hostname.]domainname
>> shall kick in (some parts can be set a compile time thers eben at runtime).
>> 
>> I'd start with inspecting your tinrc. e.g.
>>         grep -E "^mail_a" ${TIN_HOMEDIR:-"$HOME"}/.tin/tinrc
>> and if unset set your (name and) address there. This can be done from
>> inside tin via the 'M'enu or when tin is NOT running by editing the file
>> directly.
> 
> Will check these.

There doesn't seem to be a set author name in the new tinrc
OR the old backup tinrc.
 
> -=-=-
> The World Trade Center towers MUST rise again,
> at least as tall as before...or terror has triumphed.
Re: Has tin forgotten me?
#267711
Author: Urs Janßen
Date: Tue, 31 Dec 2024 05:39
29 lines
2151 bytes
In le@lekno.ws wrote:
>>> I'd start with inspecting your tinrc. e.g.
>>>         grep -E "^mail_a" ${TIN_HOMEDIR:-"$HOME"}/.tin/tinrc
>>> and if unset set your (name and) address there. This can be done from
>>> inside tin via the 'M'enu or when tin is NOT running by editing the file
>>> directly.
>> 
>> Will check these.
> 
> There doesn't seem to be a set author name in the new tinrc
> OR the old backup tinrc.

then you should add one (or figure out why the fallback to USER@HOST
doesn't work anymore (you would need to inspect the source for that).
as it works for me on a FreeBSD-15 system[1] I can't help as it seems to
be a local config issue on your system).

preferred from is
	mail_address=First Last <user@example.org>
but
	mail_address=user@example.org (First Last)
would be ok too (and you may omit the realname stuff).

[1]
# /etc/passwd looks like
urs:*:12345:12345:User &:/home/urs:/bin/sh

generated from is
	From: User Urs <urs@some.exaple.org>
Re: Has tin forgotten me?
#267712
Author: Louis Epstein
Date: Thu, 02 Jan 2025 17:55
44 lines
2590 bytes
Urs Janßen <urs@buil.tin.org> wrote:
> In le@lekno.ws wrote:
>>>> I'd start with inspecting your tinrc. e.g.
>>>>         grep -E "^mail_a" ${TIN_HOMEDIR:-"$HOME"}/.tin/tinrc
>>>> and if unset set your (name and) address there. This can be done from
>>>> inside tin via the 'M'enu or when tin is NOT running by editing the file
>>>> directly.
>>> 
>>> Will check these.
>> 
>> There doesn't seem to be a set author name in the new tinrc
>> OR the old backup tinrc.
> 
> then you should add one (or figure out why the fallback to USER@HOST
> doesn't work anymore (you would need to inspect the source for that).

I had always relied on that fallback.

> as it works for me on a FreeBSD-15 system[1] I can't help as it seems to
> be a local config issue on your system).

I wound up doing the M-while-running entry of
 
> preferred from is
>         mail_address=First Last <user@example.org>

after just filling in the user@host part a few times
(not doing that resulted in error messages regarding
a missing @).

> but
>         mail_address=user@example.org (First Last)
> would be ok too (and you may omit the realname stuff).
> 
> [1]
> # /etc/passwd looks like
> urs:*:12345:12345:User &:/home/urs:/bin/sh
> 
> generated from is
>         From: User Urs <urs@some.exaple.org>

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Re: Has tin forgotten me?
#267714
Author: Urs Janßen
Date: Fri, 03 Jan 2025 03:46
24 lines
2115 bytes
In Louis Epstein <le@lekno.ws> wrote:
>> then you should add one (or figure out why the fallback to USER@HOST
>> doesn't work anymore (you would need to inspect the source for that).
> I had always relied on that fallback.

I think I've figured that out (we've changed some internal structs to use
less memory but failed to adjust some (the patch below is a shortend version
to fix your issue) checks for (non)-empty-strings.

#v+
=== modified file 'src/header.c'
--- old/src/header.c	2024-12-15 14:03:16 +0000
+++ new/src/header.c	2025-01-03 03:22:39 +0000
@@ -288,7 +288,7 @@
 {
 	const char *fromhost = domain_name;
 
-	if (thisgrp && thisgrp->attribute->from && *thisgrp->attribute->from) {
+	if (thisgrp && thisgrp->attribute->from && *thisgrp->attribute->from && strchr(*thisgrp->attribute->from, '@')) {
 		strcpy(from_name, *thisgrp->attribute->from);
 		return;
 	}

#v-
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