I just installed CentOS Wiki guide for installing & configuring
Postfix restrictions & was wondering what you guys thought based on
what I have listed below. I just set this machine up and appears to be
working great but I trust you guys since you've been doing this for a
lot longer than I have:

http://wiki.centos.org/HowTos/postfix_restrictions

Above is the Wiki link I followed and below is a output of my postconf -n

*******************************************************************************

mail:/etc/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
home_mailbox = Maildir/
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 20480000
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = $myhostname, $mydomain, mail.$mydomain
myhostname =
mynetworks = $config_directory/mynetworks
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_delay_reject = yes
smtpd_helo_required = yes

smtpd_helo_restrictions = permit_mynetworks,
reject_non_fqdn_helo_hostname,    reject_invalid_helo_hostname,
permit

smtpd_recipient_restrictions = reject_unauth_pipelining,
reject_non_fqdn_recipient,    reject_unknown_recipient_domain,
permit_mynetworks,    reject_unauth_destination,    reject_rbl_client
zen.spamhaus.org,    reject_rbl_client bl.spamcop.net,
check_policy_service unix:postgrey/socket,    permit

smtpd_sender_restrictions = permit_mynetworks,
reject_non_fqdn_sender,    reject_unknown_sender_domain,    permit
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache

*******************************************************************************

Reply via email to