
Мога безпроблемно да изпращам мейли, но се появи проблем при получаването

/etc/postfix/main.cf
Примерен код |
smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtp_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks, reject_unauth_destination relay_domains = $mydestination mynetworks = 127.0.0.0/8,192.168.0.0/24,192.168.1.0/24,10.0.0.0/8,64.233.166.176,wa-out-1112.google.com,gmail.com,google.com smtpd_tls_auth_only = no smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom smtpd_sasl_authenticated_header = yes myhostname = my.hostname.com home_mailbox = Maildir/ mailbox_command = mynetworks_style = subnet virtual_alias_maps = hash:/etc/postfix/virtual smtpd_recipient_restrictions = regexp:/etc/postfix/access_regexp smtpd_recipient_restrictions = pcre:/etc/postfix/access_regexp inet_interfaces = all |
/var/log/maillog :
Примерен код |
Nov 22 16:14:11 daikin postfix/smtpd[2891]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit Nov 22 16:14:12 daikin postfix/master[2487]: warning: process /usr/libexec/postfix/smtpd pid 2891 exit status 1 Nov 22 16:14:12 daikin postfix/master[2487]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling |



