GNU bug report logs -
#53547
Error sending email with OpenSMTPD, fatal: time_to_text: bsnprintf
Previous Next
Full log
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Nathan <nathan_mail <at> nborghese.com> writes:
> I don't have this problem on my server.
>
> I looked at your github issue page.
> Those macros are defined by the `configure' script.
> I can see that guix's `configure' output defines HAVE_STRUCT_TM_TM_GMTOFF in config.h.
> (if neither of the #if match, then the `tz' pointer is likely garbage and the program will crash.)
>
> A problem with your time zone configuration seems like a reasonable guess.
> I'd check it with a simple C program like the one attached.
your app prints my timezone as expected. if you run something like this
does it work for you?
cat << EOF | /run/setuid-programs/sendmail $(whoami)
To: $(whoami)
Subject: test
blah
EOF
for me, it prints:
sendmail: time_to_text: bsnprintf
my config.scm:
(operating-system
...
(setuid-programs
(append (list (setuid-program
(program (file-append opensmtpd "/sbin/smtpctl"))
(setuid? #f)
(setgid? #t)
(user "root")
(group "smtpq"))
(setuid-program
(program (file-append opensmtpd "/sbin/sendmail"))
(setuid? #f)
(setgid? #t)
(user "root")
(group "smtpq")))
%setuid-programs))
This bug report was last modified 1 year and 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.