From 0b9fe2c7b4965ec66f184d6c1da2d38c2b7fd0d5 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 28 Sep 2017 22:47:47 -0700 Subject: email: domain blacklist directions --- software/email.page | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'software') diff --git a/software/email.page b/software/email.page index f749471..306bc15 100644 --- a/software/email.page +++ b/software/email.page @@ -6,8 +6,8 @@ offlineimap synchronization to maildir, notmuch indexing, mutt-kr client. What I want when online: -- instant (<1 seconds) email send -- with MUA open, instant (<1 seconds) email receive (IMAP IDLE) +- instant (less than 1 second) email send +- with MUA open, instant (less than 1 second) email receive (IMAP IDLE) - with MUA closed, regular (15 minute) imap synchronization, and single command to quickly synchronize and send any queued messages @@ -66,3 +66,24 @@ References: * [write up of contemporary (2012) techniques](http://blog.phusion.nl/2012/09/10/mail-in-2012-from-an-admins-perspective/) http://sealedabstract.com/code/nsa-proof-your-e-mail-in-2-hours/ + +Postfix Domain Blacklist +------------------------- + +At some point I started getting >= one spam message per second from a `qq.com` +spoofer. I blacklisted that sender domain using +[these directions](https://nacko.net/postfix-block-specific-from-specific-domains-centos-6-rhel-6/): + +Edit `/etc/postfix/sender_access`: + + qq.com DISCARD + +Run: + + sudo postmap /etc/postfix/sender_access + +Edit `/etc/postfix/main.cf`: + + smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access + +Restart postfix. -- cgit v1.2.3