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

Implement greylisting #295

Open
foxcpp opened this issue Nov 22, 2020 · 1 comment
Open

Implement greylisting #295

foxcpp opened this issue Nov 22, 2020 · 1 comment
Labels
filter Related to message processing middleware ("filters") mta-in Related to incoming message processing part of the MTA functionality (mail exchanger).

Comments

@foxcpp
Copy link
Owner

foxcpp commented Nov 22, 2020

Simplest possible implementation: Add greylist filter just doing unconditional greylisting.
Possibly better implementation: Add greylist check action so e.g. it is possible to implement greylisting as a response to some other checks failing, including replacing rspamd's greylist module that is not configured by default and requires Redis.

Considerations:

  • How to detect resending of the same message? Message may be resent from a different MAIL FROM address and different IP, depending on sender infra it may also have slightly different top headers (e.g. Received with a different timestamp). Need to look into how other implementations do this.
@foxcpp foxcpp added filter Related to message processing middleware ("filters") mta-in Related to incoming message processing part of the MTA functionality (mail exchanger). labels Nov 22, 2020
@foxcpp foxcpp added this to the 0.5 milestone Nov 24, 2020
@foxcpp foxcpp removed this from the 0.5 milestone Jul 10, 2021
@foxcpp
Copy link
Owner Author

foxcpp commented Jul 9, 2022

postgrey uses SHA1(sender subnet (/24 or /64), normalized sender address, recipients list) as a greylist key.
Sender address is stripped of VERP and BATV tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filter Related to message processing middleware ("filters") mta-in Related to incoming message processing part of the MTA functionality (mail exchanger).
Projects
None yet
Development

No branches or pull requests

1 participant