Note that the config files that follow are from a mail relay server,
local delivery has been disabled.

What changes do I need to make so that I can deliver spam locally to the
spamcannibal user?  The local delivery agent is commented out in
master.cf.  Should I NFS export spam from the mailhub to the
spamcannibal enabled email gateways?  I am using MailScanner, so that is
why the DNSBLs are commented out.  Another note, I don't greylist
anymore.  Note for the virtual file that I think the example.com
mentioned is supposed to refer to your Internet side 
address where robinson-west.com doesn't internally.  In other words,
I don't think my virtual file has any effect.

Where is sc_mailfilter.pl supposed to get email from?  Does this script
process and then send email, or what exactly does it do?

My postfix main.cf follows:

queue_directory = /var/spool/relay_spool
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
message_size_limit = 40960000
mailbox_size_limit = 81920000

mail_owner = postfix

default_privs = nobody

canonical_maps=hash:/etc/postfix/canonical,
               hash:/etc/postfix/canonical_sophistasis

mydomain=robinson-west.com
myorigin=$mydomain

inet_interfaces = 216.151.30.106, 127.0.0.1

mydestination=
local_recipient_maps=
local_transport= error:local delivery is disabled

virtual_alias_maps=hash:/etc/postfix/virtual

mynetworks=127.0.0.0/8, 216.151.30.104/29
relay_domains = $mydomain, goose.$mydomain, sophistasis.com
parent_domain_matches_subdomains =
    debug_peer_list smtpd_access_maps

relay_recipient_maps=hash:/etc/postfix/relay_recipients,
                     hash:/etc/postfix/sophistasis_relay

transport_maps=hash:/etc/postfix/transport,
               hash:/etc/postfix/transport_sophistasis


in_flow_delay = 3s

smtpd_banner = $myhostname ESMTP $mail_name

smtpd_delay_reject = yes


# Should I be doing the following?
smtpd_helo_required=yes

disable_vrfy_command=yes

smtpd_reject_unlisted_sender=yes

header_checks=regexp:/etc/postfix/header_checks

# There are suggestions that a helo should neither be required nor 
# checked...
smtpd_helo_restrictions= permit_mynetworks,
                         check_helo_access
hash:/etc/postfix/invalid_helo,
                         check_helo_access hash:/etc/postfix/access,
                         permit

smtpd_recipient_restrictions =    reject_non_fqdn_recipient,
                                     reject_non_fqdn_sender,
                            reject_unknown_recipient_domain,
                                    reject_invalid_hostname,
                                   reject_non_fqdn_hostname,
                                  reject_non_fqdn_recipient,
                               reject_unknown_sender_domain,
                                  reject_unlisted_recipient,
                                   reject_unauth_pipelining,
                                          permit_mynetworks,
                                  reject_unauth_destination,
                reject_rbl_client spamsrc.robinson-west.com,
                          #reject_rbl_client bl.spamcop.net,
                         #reject_rbl_client dnsbl.sorbs.net,
                    #reject_rbl_client spam.dnsbl.sorbs.net,
                         #reject_rbl_client rhsbl.sorbs.net,
                        #reject_rbl_client zen.spamhaus.org,
               check_policy_service unix:private/policy-spf,
# Do the sqlgrey check...
#                  check_policy_service inet:127.0.0.1:2501,
                                                     permit

policy_time_limit = 60

smtpd_data_restrictions = reject_unauth_pipelining,
                          permit

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 550
defer_code = 450
invalid_hostname_reject_code = 501
maps_rbl_reject_code = 554
non_fqdn_reject_code = 504
reject_code = 554
relay_domains_reject_code = 554
unknown_address_reject_code = 450
unknown_client_reject_code = 450
multi_recipient_bounce_reject_code = 550
html_directory = no

smtp_error_sleep_time=1s
smtp_soft_error_limit=10
smtp_hard_error_limit=20

My postfix virtual file follows:

[email protected]    postmaster

In my opinion, the virtual feature of postfix is extremely confusing.

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to