ivanildogalvao
(usa Red Hat)
Enviado em 29/11/2013 - 14:18h
Olá, segue o main.conf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 1h
readme_directory = no
# TLS parameters
###smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
###smtpd_tls_key_file = /etc/ssl/private/dovecot.pem
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = mail.gesticard.co.ao
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = gesticard.co.ao
mydestination = srvmail.gesticard.co.ao, localhost.gesticard.co.ao, localhost
relay_domains = $mydestination
#relay_transport = relay
#transport_maps = hash:/etc/postfix/transport
#relayhost =
mynetworks = 192.168.5.0/24 192.168.111.0/24 127.0.0.0/8 10.3.0.0/27 192.168.4.0/24 192.168.110.0/24 192.168.127.0/24 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
###smtpd_tls_CAfile = /etc/ssl/certs/cacert.gesticard.co.ao.pem
smtpd_tls_received_header = yes
mydomain = gesticard.co.ao
virtual_minimum_uid = 6060
virtual_gid_maps = static:6060
virtual_uid_maps = static:6060
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/etc/postfix/virtual
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_mailbox_base = /home/
dovecot_destination_concurrency_limit = 2
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = gesticard.co.ao
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtp_pix_workarounds = disable_esmtp, delay_dotcrlf
smtp_pix_workaround_delay_time = 10s
smtp_pix_workaround_threshold_time = 500s