Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-07 Thread lists
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

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-07 Thread William C
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 tha

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-07 Thread lists
ected with 5.7.1 HDR9020 Date header is in the distant future Wietse Venema wrote: > Regexps that accept exactly one the year in the Date: field will bounce > some email around the end of the year, because year changes don't happen > globally at the same time, and email may be in

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-07 Thread Roel Wagenaar
Wietse Venema wrote: > Regexps that accept exactly one the year in the Date: field will bounce > some email around the end of the year, because year changes don't happen > globally at the same time, and email may be in transit for up to a few > days. > > By the end of 2019 the patterns should be

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread @lbutlr
On 06 Jan 2020, at 13:18, Wietse Venema wrote: >> As my mail provider has told me they updated it to 2030, This is ridiculous. It is trivial to automate this by generating a header check dynamically based on the current UTC date, so doing this “by hand” and setting something up that allows an

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Noel Jones
On 1/6/2020 3:16 PM, Wietse Venema wrote: Regexps that accept exactly one the year in the Date: field will bounce some email around the end of the year, because year changes don't happen globally at the same time, and email may be in transit for up to a few days. By the end of 2019 the patterns

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Larry Stone
> On Jan 6, 2020, at 2:18 PM, Wietse Venema wrote: > > Larry Stone: >> Yep. Sadly, the mail provider I use for personal email had a spam >> check to consider dates 2020 and later to be ?from the future? and >> rejected mail. It took a few hours for them to fix it on 1/1, >> meanwhile, considera

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Wietse Venema
Regexps that accept exactly one the year in the Date: field will bounce some email around the end of the year, because year changes don't happen globally at the same time, and email may be in transit for up to a few days. By the end of 2019 the patterns should be: /^Date: .* 2019/

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Viktor Dukhovni
On Mon, Jan 06, 2020 at 09:47:24PM +0100, Jos Chrispijn wrote: > Best check your header_checks configuration. It should look like this: > > /^Date: .* [0-1][0-9][0-9][0-9]/    REJECT Your email has a date from the > past. Fix your system clock and try again. > /^Date: .* 200[0-9]/   

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Jos Chrispijn
Best check your header_checks configuration. It should look like this: /^Date: .* [0-1][0-9][0-9][0-9]/    REJECT Your email has a date from the past. Fix your system clock and try again. /^Date: .* 200[0-9]/    REJECT Your email has a date from the past. Fix your system clo

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Wietse Venema
Larry Stone: > Yep. Sadly, the mail provider I use for personal email had a spam > check to consider dates 2020 and later to be ?from the future? and > rejected mail. It took a few hours for them to fix it on 1/1, > meanwhile, considerable mail was lost. Check your various spam > checking processes

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Larry Stone
On Jan 6, 2020, at 11:52 AM, Noel Jones mailto:njo...@megan.vbhcs.org>> wrote: > > On 1/6/2020 11:31 AM, Roel Wagenaar wrote: >> L.S. >> Lately I find rejections in my mail log, my mailers all have ntp running, >> yet the reject reason is: 5.7.1 HDR9020 Date header is in the distant >> future. >>

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Wietse Venema
Roel Wagenaar: > L.S. > > Lately I find rejections in my mail log, my mailers all have ntp running, > yet the reject reason is: 5.7.1 HDR9020 Date header is in the distant > future. > Jan 6 18:18:25 mail1 postfix-in/cleanup[19907]: E59C49805: reject: header > Date: Mon, 6 Jan 2020 17:16:46 +

Re: Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Noel Jones
On 1/6/2020 11:31 AM, Roel Wagenaar wrote: L.S. Lately I find rejections in my mail log, my mailers all have ntp running, yet the reject reason is: 5.7.1 HDR9020 Date header is in the distant future. Jan 6 18:18:24 mail1 postfix-in/smtpd[19887]: connect from english-breakfast.cloud9.net[168.1

Mail rejected with 5.7.1 HDR9020 Date header is in the distant future

2020-01-06 Thread Roel Wagenaar
L.S. Lately I find rejections in my mail log, my mailers all have ntp running, yet the reject reason is: 5.7.1 HDR9020 Date header is in the distant future. Jan 6 18:18:24 mail1 postfix-in/smtpd[19887]: connect from english-breakfast.cloud9.net[168.100.1.7] Jan 6 18:18:24 mail1 postfix-in/smtp