Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/al2klimov/opensmtpd-filter-qdgrey
OpenSMTPd filter for quick and dirty greylisting
https://github.com/al2klimov/opensmtpd-filter-qdgrey
greylist mail opensmtpd
Last synced: about 1 month ago
JSON representation
OpenSMTPd filter for quick and dirty greylisting
- Host: GitHub
- URL: https://github.com/al2klimov/opensmtpd-filter-qdgrey
- Owner: Al2Klimov
- License: gpl-3.0
- Created: 2023-09-08T18:54:48.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-03T10:53:14.000Z (about 2 months ago)
- Last Synced: 2024-11-04T08:50:01.484Z (about 2 months ago)
- Topics: greylist, mail, opensmtpd
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# opensmtpd-filter-qdgrey
## Name
Meaning: **OpenSMTPd filter** for **q**uick and **d**irty **grey**listing
The naming pattern was inspired by **QDOS**,
the **q**uick and **d**irty **o**perating **s**ystem.Pronounce "qd" as _cute_ (inspired by Qt), but with a D - _cude_.
## Rationale
Traditional greylisting temporarily blocks messages by these attributes:
* MTA IP
* sender
* recipientUnfortunately the more MTAs of a large network fall back to each other because
of greylisting, the more a single message is delayed - if it arrives at all.
(Due to the fact that every new MTA gets greylisted for the same message.)This could be fixed by taking into account the sender's SPF records.
Theoretically. But no one has to publish such.The quick and dirty workaround of opensmtpd-filter-qdgrey is simple:
Ignore the MTA IP, just greylist a message by sender and recipient.## Usage
Build the source code like any other program written in Golang.
The resulting executable communicates with smtpd(8) as per smtpd-filters(7).
Search in smtpd.conf(5) for "proc-exec" on how to integrate it.Also run a Redis server, either on its default port and on the same machine
as OpenSMTPd or tell opensmtpd-filter-qdgrey how to connect
to your Redis instance (see `go run . -h`).