mox/smtpserver
Mechiel Lukkien 9419ee15dd
slow down connections for spammy deliveries, and too many failed authentications, and sleep for 15 seconds before delivering messages by first-time senders
similar to greylisting, but not quite the same: with greylisting you would
always reject the first delivery attempt with a temporary failure. with the
hope that spammers won't retry their deliveries. the spams i've been receiving
seem to be quite consistent though. and we would keep rejecting them anyway.

we slow down the spammy connections to waste some of the resources of a
spammer. this may slow their campaigns down a bit, leaving a bit more time to
take measures.

we do the same with connections that have their 3rd authentication failure,
typically password guess attempts.

when we accept a message by a first-time sender, we sleep for 15 seconds before
actually delivering them. known-good senders don't have to wait. if the message
turns out to be a spammer, at least we've consumed one of their connections,
and they cannot deliver at too high a rate to us because of the max open
connection limit.
2023-02-08 21:45:32 +01:00
..
alignment.go mox! 2023-01-30 14:27:06 +01:00
analyze.go mox! 2023-01-30 14:27:06 +01:00
authresults.go mox! 2023-01-30 14:27:06 +01:00
authresults_test.go mox! 2023-01-30 14:27:06 +01:00
dnsbl.go mox! 2023-01-30 14:27:06 +01:00
dsn.go mox! 2023-01-30 14:27:06 +01:00
error.go mox! 2023-01-30 14:27:06 +01:00
fuzz_test.go mox! 2023-01-30 14:27:06 +01:00
limitwriter.go mox! 2023-01-30 14:27:06 +01:00
mx.go mox! 2023-01-30 14:27:06 +01:00
parse.go add scram-sha-256 for smtp 2023-01-31 00:22:26 +01:00
parse_test.go mox! 2023-01-30 14:27:06 +01:00
rejects.go mox! 2023-01-30 14:27:06 +01:00
reputation.go mox! 2023-01-30 14:27:06 +01:00
reputation_test.go mox! 2023-01-30 14:27:06 +01:00
server.go slow down connections for spammy deliveries, and too many failed authentications, and sleep for 15 seconds before delivering messages by first-time senders 2023-02-08 21:45:32 +01:00
server_test.go slow down connections for spammy deliveries, and too many failed authentications, and sleep for 15 seconds before delivering messages by first-time senders 2023-02-08 21:45:32 +01:00