# See /usr/share/postfix/main.cf.dist for a commented, more complete version setgid_group = postdrop smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) 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 = 4h command_directory = /usr/sbin daemon_directory = /usr/lib/postfix program_directory = /usr/lib/postfix myhostname = servidor.midominio.com mydomain = midominio.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = $mydomain mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mynetworks = 127.0.0.0/8 #mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + #inet_interfaces = all local_recipient_maps = mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp #SASL #smtp_sasl_auth_enable = no #smtpd_sasl_auth_enable = yes #smtpd_sasl_local_domain = servidor smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access pcre:/etc/postfix/recipient_checks.pcre, check_helo_access hash:/etc/postfix/helo_checks, # check_helo_access pcre:/etc/postfix/helo_checks.pcre, check_sender_access hash:/etc/postfix/sender_checks, check_client_access hash:/etc/postfix/client_checks, check_client_access pcre:/etc/postfix/client_checks.pcre, reject_rbl_client relays.ordb.org, # reject_rbl_client opm.blitzed.org, # reject_rbl_client list.dsbl.org, # reject_rbl_client sbl.spamhaus.org, # reject_rbl_client cbl.abuseat.org, # reject_rbl_client dul.dnsbl.sorbs.net, permit smtpd_data_restrictions = reject_unauth_pipelining, permit #smtpd_sasl_security_options = noanonymous ##CERTIFICADO smtpd_use_tls = no smtpd_tls_auth_only = no smtpd_tls_key_file = /etc/postfix/ssl/newreq.pem smtpd_tls_cert_file = /etc/postfix/ssl/newcert.pem smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 3 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom content_filter = smtp-amavis:[127.0.0.1]:10024 ## ANTI-USE smtpd_helo_required = yes disable_vrfy_command = yes ## MAILMAN mailman_destination_recipient_limit = 1 unknown_local_recipient_reject_code = 550 owner_request_special = no relayhost = inet_interfaces = all soft_bounce = no