Hellow Debian citizen, I've received a few bounce emails in the past, sometimes from Google, sometimes from the Debian project. For example, it is said that postfix's header_checks() cannot filter out two "From" fields.
So i made a simple bash script [5]. It is really simple! Below is example log: (just normal status) <quote: from mail.logs> Feb 17 23:13:23 yw-0919 postfix/smtpd[16956]: connect from bendel.debian.org[2001:41b8:202:deb:216:36ff:fe40:4002] Feb 17 23:13:24 yw-0919 postfix/smtpd[16956]: Untrusted TLS connection established from bendel.debian.org[2001:41b8:202:deb:216:36ff:fe40:4002]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) Feb 17 23:13:24 yw-0919 postfix/smtpd[16956]: B1080525A3: client=bendel.debian.org[2001:41b8:202:deb:216:36ff:fe40:4002] Feb 17 23:13:24 yw-0919 postfix/cleanup[16964]: B1080525A3: resent-message-id=<[email protected]> Feb 17 23:13:24 yw-0919 postfix/cleanup[16964]: B1080525A3: message-id=<[email protected]> Feb 17 23:13:25 yw-0919 postfix/qmgr[9738]: B1080525A3: from=<[email protected]>, size=430760, nrcpt=1 (queue active) Feb 17 23:13:25 yw-0919 postfix/pickup[16711]: 56A39596CE: uid=1003 from=<[email protected]> Feb 17 23:13:25 yw-0919 postfix/cleanup[16964]: 56A39596CE: resent-message-id=<[email protected]> Feb 17 23:13:25 yw-0919 postfix/cleanup[16964]: 56A39596CE: message-id=<[email protected]> Feb 17 23:13:25 yw-0919 postfix/pipe[16965]: B1080525A3: to=<[email protected]>, relay=rfc2822, delay=0.65, delays=0.57/0.01/0/0.07, dsn=2.0.0, status=sent (delivered via rfc2822 service (From ok Date ok redirect to [email protected] ...)) Feb 17 23:13:25 yw-0919 postfix/qmgr[9738]: B1080525A3: removed Feb 17 23:13:25 yw-0919 postfix/qmgr[9738]: 56A39596CE: from=<[email protected]>, size=430874, nrcpt=1 (queue active) Feb 17 23:13:25 yw-0919 postfix/smtpd[16956]: disconnect from bendel.debian.org[2001:41b8:202:deb:216:36ff:fe40:4002] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7 Feb 17 23:13:26 yw-0919 postfix/smtp[16983]: Verified TLS connection established to yw-1204.doraji.xyz[2a03:ebc0:5000:12::10]:2525: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) Feb 17 23:13:27 yw-0919 postfix/smtp[16983]: 56A39596CE: to=<[email protected]>, relay=yw-1204.doraji.xyz[2a03:ebc0:5000:12::10]:2525, delay=1.7, delays=0.03/0.02/0.92/0.76, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5D91A6E3) Feb 17 23:13:27 yw-0919 postfix/qmgr[9738]: 56A39596CE: removed </quote> Both yw-0919 and yw-1204 are forwarding-only email servers. And Always i love Debian project, thanks! Sincerely, Byunghee from South Korea [5] <https://gitlab.com/soyeomul/Gnus/-/raw/7a302b522a3d1b052f6fccea8aae0bdd0823597e/TSG/rfc2822.sh>
signature.asc
Description: PGP signature

