*gnaaa*, without that dot tin builds an invalid (truncated) Sender:-header
and then complains about it and you can't post (without disbale_sender).

=== modified file 'src/header.c'
--- old/src/header.c    2024-11-08 07:42:18 +0000
+++ new/src/header.c    2024-11-10 10:31:53 +0000
@@ -325,7 +325,7 @@
        if ((ptr = get_full_name())) /* TODO: rfc2047 encode */
                snprintf(sender, sizeof(sender), ((strpbrk(ptr, 
"\".:;<>@[]()\\")) ? "\"%s\"" : "%s "), ptr);
 
-       snprintf(sender + strlen(sender), sizeof(sender) - strlen(sender), 
"<%*s@", LOGIN_NAME_MAX, userid);
+       snprintf(sender + strlen(sender), sizeof(sender) - strlen(sender), 
"<%.*s@", LOGIN_NAME_MAX, userid);
 
 #      ifdef HAVE_GETHOSTBYNAME
        ptr = get_fqdn(get_host_name());


_______________________________________________
tin-dev mailing list
tin-dev@tin.org
http://lists.tin.org/cgi-bin/mailman/listinfo/tin-dev

Reply via email to