Bug#841061: tracker.debian.org: Improve bounce handler to ignore 552 5.7.0 bounces due to illegal attachment
Package: tracker.debian.org
Severity: important
We have many Gmail users who are getting unsubscribed because Gmail
generates bounces on mail with illegal attachements (.exe, or archive
containing executables, and similar):
https://support.google.com/mail/answer/6590?p=BlockedMessage
SMTP error from remote mail server after end of data:
host gmail-smtp-in.l.google.com [2a00:1450:400c:c04::1b]:
552-5.7.0 This message was blocked because its content presents a potential
552-5.7.0 security issue. Please visit
552-5.7.0 https://support.google.com/mail/?p=BlockedMessage to review our
552 5.7.0 message content and attachment content guidelines. je8si13362513wjb.36 - gsmtp
Unfortunately, the BTS is very laxist and will happily forwards such kind of spam.
So we should probably not count such bounces in the auto-unsubscription code.
On busy packages with enough legit mails, this is not a problem, but on
packages who are getting only spam (like "less" recently), this is a real
concern.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: