Open ghost opened 8 years ago
Yes it's possible. Add this line to /etc/postfix/header_checks file: /^X-Greylist::/ IGNORE And in your main.cf add this: header_checks = regexp:/etc/postfix/header_checks
Restart postfix.
However I think it's a good idea to leave it as it is, for the sake of troubleshooting, if necessary.
Nice and simple, thank you!
Although postgrey should have that as optional, in my humble opinion. As an alternative, there is the new postscreen feature of postfix.
Glad it helped. And yes I agree that it should be an option to disable adding that header. Nevertheless, using header_checks grants more flexibility, as you can customize it for other headers filtering.
About postscreen, it's not really an alternative since it's a completely different concept from greylisting (postgrey). Personnaly, I use both on my server along with DNSBL's; this powerful combination virtually eliminated 99% of the spam!
Is it possible to disable the modification of the email headers?
I'd like the email to be left intact, without adding the X-Greylist line.
Thank you.