I too am trying to achieve this, here is my blocked_senders map followed by my postconf -n output:
Would this achieve the desired results of restricting inbound email with faked "From" headers? Many thanks in advance, .vp ### blocked_senders ### example.com 554 example.com sender? But you're not in my network ... example.org 554 example.org sender? But you're not in my network ... example.net 554 example.net sender? But you're not in my network ... example.us 554 example.us sender? But you're not in my network ... ####################################################### alias_database = dbm:/etc/postfix/aliases alias_maps = dbm:/etc/postfix/aliases command_directory = /postfix/sbin config_directory = /postfix/etc content_filter = avx:127.0.0.1:10025 daemon_directory = /postfix/libexec debug_peer_level = 2 default_process_limit = 500 disable_vrfy_command = yes html_directory = no mail_owner = postfix mailbox_size_limit = 1024000000 mailq_path = /postfix/bin/mailq manpage_directory = /postfix/man message_size_limit = 15360000 mydomain = dmx.example.com myhostname = smtp1.dmx.example.com mynetworks = 127.0.0.0/8, !192.168.1.50, 192.168.1.0/24 myorigin = $myhostname newaliases_path = /postfix/bin/newaliases queue_directory = /postfix/var/spool/mqueue rbl_reply_maps = dbm:/$config_directory/rbl_reply readme_directory = /postfix/doc recipient_delimiter = + relay_domains = example.com example.org example.net us.example.com example.us localhost sample_directory = /postfix/doc/samples sendmail_path = /postfix/sbin/sendmail setgid_group = postdrop smtpd_banner = $myhostname ESMTP smtpd_client_restrictions = ignore_policy_error, check_policy_service inet:localhost:5577 smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, check_sender_access dbm:/etc/postfix/blocked_senders, reject_rbl_client 67679988282.rbl.com, reject_unauth_destination smtpd_sender_restrictions = reject_unauth_pipelining, reject_unknown_sender_domain, reject_non_fqdn_sender, check_recipient_access dbm:/etc/postfix/access transport_maps = dbm:/etc/postfix/transport unknown_address_reject_code = 550 unknown_hostname_reject_code = 550 unknown_local_recipient_reject_code = 450 > Date: Thu, 4 Dec 2008 10:02:08 -0500 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Domain emails from outside > > On 12/4/2008, Gabriel Hahmann ([EMAIL PROTECTED]) wrote: >> My configuration is listed below > > Output of postconf -n is preferred... > > -- > > Best regards, > > Charles