futureDate option
Closed this issue · 2 comments
Hi,
I discovered the futureDate option but I can't test it.
In the /opt/zone-mta/config/default.js
file, I change value to true
I've restarted Zone-MTA to be sure that's ok.
I tried to send an email with swaks like that:
swaks --to my@address.io --from my@address.io --server my.server.io --port 2525 -tls --auth-user "john-doe" --auth-password "password" --h-Subject "Test delayed email" --body "Youpla Boom" --header "Date: Mon, 12 Aug 2024 18:43:30 +0000"
My email was queued at 2024-08-12 18:23:40
In the Header, I can see the Date Header with the good hour:
Date: Mon, 12 Aug 2024 18:24:30 +0000
But Zone-MTA don't care of my Date header.
Have I made a mistake?
Is that actually the config you're using though? A usual zone-mta setup would use zone-mta-template as a starting point, which overrides that default config here
With default-headers.toml it works!
Thanks a lot