Hi Jeremy, I think the original author of this bug was mistaken in their belief that the bug was fixed in 3.14 of Mailutils.
The linked upstream issue ( https://savannah.gnu.org/bugs/?61239 ) was last edited in October 2024, with an indication that the bug was being fixed at that time (ie in late 2024), and this is much later than 3.14. I've reproduced this issue myself on Ubuntu Noble today. The following command results in an email which claims to have been sent from the future: echo "Test email body1"|mail -s testemailsubject [email protected] whereas this results in an email with an honest sending time: echo "Test email body1"|TZ="UTC" mail -s testemailsubject [email protected] My ubuntu instance is in Pacific/Auckland, which is currently UTC+12 `date` Thu Jul 3 09:29:02 NZST 2025 I don't need to set TZ to be UTC to make this work, I'm pretty sure any timezone less that +12 will work, I've tried "Australia/Sydney" just now (UTC+10), and that works. The bug stops exhibiting when local time passes noon (I assume this is related to the fact that UTC, and Pacific/Auckland are on the same date from that point). dpkg -l|grep mailutils ii libmailutils9t64:amd64 1:3.17-1.1build3 amd64 GNU Mail abstraction library ii mailutils 1:3.17-1.1build3 amd64 GNU mailutils utilities for handling mail ii mailutils-common 1:3.17-1.1build3 all common files for GNU mailutils -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1956850 Title: Please upgrade to GNU mailutils 3.14 to fix incorrect time zones in Date headers of sent messages To manage notifications about this bug go to: https://bugs.launchpad.net/mailutils/+bug/1956850/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
