https://metacpan.org/pod/MIME::Lite
Sort of not recommended, but a few alternatives provided. Thanks. Original Message From: will...@uubeta.com Sent: January 7, 2020 12:51 AM To: postfix-users@postfix.org Subject: Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future You can use MIME::Lite (or something similiar) to build a message including body and headers with wrong date format then forward the message to Postfix for testing. regards. on 2020/1/7 16:47, lists wrote: > Is there some easy way to send email with the wrong date to test this? We'll > other than setting the wrong date on the computer. >