aboutsummaryrefslogtreecommitdiff
path: root/b4/__init__.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-23 13:22:22 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-08-23 13:22:22 -0400
commitae63faa8e546381ab16f18bdfeb66a9cee86c88b (patch)
treefa3af49c537416d8f4539716be95fa81e45e3c42 /b4/__init__.py
parent138adb3faf9b5c622100169c2518f5d9e81672bb (diff)
downloadb4-ae63faa8e546381ab16f18bdfeb66a9cee86c88b.tar.gz
send-receive: add some anti-spam protections
The goal of this service is to accept and send patches, nothing else. It's not a replacement for an SMTP server, just a replacement for really terrible SMTP servers that mangle patches. So, add some anti-spam protections: - only accept email that looks like patches or cover letters - don't accept anything other than text/plain mail - require that one of the to/cc addresses matches a predefined list of recognized mailing lists Not a guarantee that this service won't get abused, but it's a start to make sure that it won't be quite as tasty of a target. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/__init__.py')
0 files changed, 0 insertions, 0 deletions