Hello all, I'm trying to figure out if I'm doing this properly. Below is the mail header showing connection from 170.130.34.30
I have the following config: smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_non_fqdn_recipient check_recipient_access regexp:/etc/postfix/rcptaccess check_sender_access regexp:/etc/postfix/senderaccess check_client_access cidr:/etc/postfix/clientaccess hash:/etc/postfix/sender_reject cidr:/etc/postfix/sender_reject_ip sender_reject_ip has: 170.130.0.0/16 550 SPR-170.130.0.0 Am I trying to block this IP in the wrong place or using the wrong method? Thank you Headers: Delivered-To: obri...@userdomain.com Return-Path: splash-obriens=userdomain....@appreciatetheprofound.com Received-SPF: pass (appreciatetheprofound.com: 170.130.34.30 is authorized to use 'splash-obriens=userdomain....@appreciatetheprofound.com' in 'mfrom' identity (mechanism 'mx' matched)) receiver=mgw.postfixserver.com; identity=mailfrom; envelope-from="splash-obriens= userdomain....@appreciatetheprofound.com"; helo= mail.appreciatetheprofound.com; client-ip=170.130.34.30 Received: from mail.appreciatetheprofound.com (mx.mailhubone.com [170.130.34.30]) by mgw.mgw.postfixserver.com (Proxmox) with ESMTP id 77CE7808D7 for <obri...@userdomain.com>; Wed, 28 Oct 2020 12:13:25 -0400 (EDT) -- Thanks! Joey