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

Move DNSBL check after MAIL FROM to make AUTH available #271

Closed
wants to merge 2 commits into from

Conversation

analogic
Copy link
Contributor

@analogic analogic commented Aug 5, 2016

If plugin is set to disconnect before login is available then all IP addresses with DNSBL record will not be able to send email even if they are proper users (traveling, shared ISPs IPs...)

@coveralls
Copy link

coveralls commented Aug 5, 2016

Coverage Status

Coverage remained the same at 48.84% when pulling ba5696a on analogic:patch-3 into e551786 on smtpd:master.

@msimerson
Copy link
Member

The best practice for using DNSBLs is to run them only on port 25 and push all your MSA traffic to port 587 where you do not have DNSBLs and instead require STARTTLS + AUTH. For that use case, running the DNSBL checks early (during connect) is by far the preferred option.

If you modified this PR to instead add a config option that let one specify which hook this plugin is registered on $self->register_hook('connect', '....');, and left the default to connect, I'd happily merge that.

@analogic
Copy link
Contributor Author

You are right, it seems better solution to run different config for submission port. Closing.

@analogic analogic closed this Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants