• Re: Has tin forgotten me?

    From John McCue@21:1/5 to le@lekno.ws on Sat Dec 28 14:29:27 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From le@lekno.ws@21:1/5 to John McCue on Sat Dec 28 17:57:21 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From le@lekno.ws@21:1/5 to urs@buil.tin.org on Sat Dec 28 17:54:50 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From le@lekno.ws@21:1/5 to le@lekno.ws on Mon Dec 30 23:20:23 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Urs =?UTF-8?Q?Jan=C3=9Fen?=@21:1/5 to le@lekno.ws on Tue Dec 31 05:39:49 2024
    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>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Louis Epstein@21:1/5 to urs@buil.tin.org on Thu Jan 2 17:55:53 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Urs =?UTF-8?Q?Jan=C3=9Fen?=@21:1/5 to In Louis Epstein on Fri Jan 3 03:46:18 2025
    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-

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From le@lekno.ws@21:1/5 to All on Sat Dec 28 00:34:25 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Urs =?UTF-8?Q?Jan=C3=9Fen?=@21:1/5 to le@lekno.ws on Sat Dec 28 05:29:08 2024
    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.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)