Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the header modification #31

Open
ghost opened this issue Feb 22, 2016 · 3 comments
Open

Disable the header modification #31

ghost opened this issue Feb 22, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 22, 2016

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.

@Jolly-Pirate
Copy link

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.

@ghost
Copy link
Author

ghost commented Feb 23, 2016

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.

@Jolly-Pirate
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants