Hello, I previously posted this thread, but changed midstream and was given guidance as to the proper way to post. So, I am starting again.
Summary: I would like to ban an address/domain from posting to my system. I am using header_checks to do that. After creating a header_checks file and modifying main.cf to indicate the use of a header_checks file, a message sent to the server is passed through. I am posting from testm...@library.state.or.us to testm...@swiki.osl.state.or.us. Here is the line from the header_checks file: /^From: testm...@library.state.or.us / REJECT Log from maillog on swiki.osl.state.or.us: Jan 4 11:36:13 swiki postfix/qmgr[19204]: EB79ADB4B6E: from=< testm...@library.state.or.us>, size=791, nrcpt=1 (queue active) Jan 4 11:36:13 swiki postfix/local[19921]: EB79ADB4B6E: to=< testm...@swiki.osl.state.or.us>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Header of mail received at testm...@library.state.or.us: Return-Path: <testm...@library.state.or.us> X-Original-To: testm...@swiki.osl.state.or.us Delivered-To: testm...@swiki.osl.state.or.us Received: from library.state.or.us (www.osl.state.or.us [159.121.122.8]) by listsmart.osl.state.or.us (Postfix) with ESMTP id EB79ADB4B6E for <testm...@swiki.osl.state.or.us>; Mon, 4 Jan 2010 11:36:13 -0800 (PST) Received: by library.state.or.us (Postfix, from userid 552) id 6993B233FC; Mon, 4 Jan 2010 11:39:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by library.state.or.us (Postfix) with ESMTP id 68F7F32E64 for <testm...@swiki.osl.state.or.us>; Mon, 4 Jan 2010 11:39:52 -0800 (PST) Date: Mon, 4 Jan 2010 11:39:52 -0800 (PST) From: testm...@library.state.or.us To: testm...@swiki.osl.state.or.us Subject: testing Message-ID: <pine.lnx.4.53.1001041139420.17...@library.state.or.us> MIME-Version: 1.0 Output of postconf -n : alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 default_privs = nobody default_verp_delimiters = += html_directory = no mail_owner = postfix mail_spool_directory = /var/spool/mail mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 2097152 mydestination = $myhostname, localhost.$mydomain, localhost.localdomain, listsmart.$mydomain, swiki.$mydomain myhostname = listsmart.osl.state.or.us mynetworks = 159.121.122.0/24, 127.0.0.0/8 mynetworks_style = subnet newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.0.16/README_FILES recipient_delimiter = + sample_directory = /usr/share/doc/postfix-2.0.16/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.sorbs.net, reject_rbl_client cbl.abuseat.org, reject_rbl_client ix.dnsbl.manitu.net, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_blacklist transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 450 Can someone help with this? Thank you.