Am un cont de e-mail Postfix [email protected]
și următoarele două pseudonime:
mydomain.com -> [email protected] # catchall alias
[email protected] -> [email protected]
Acum, al doilea pare prostesc, dar dacă îl elimin, fiecare e-mail care este trimis [email protected]
este livrat la [email protected]
chiar dacă (1) [email protected]
este un cont, (2) este activat și (3) nu este un cont numai de trimitere.
De ce funcționează primirea oricăror e-mailuri trimise către acest cont numai dacă aliasul pentru sine este activat?
Iată configurația mea Postfix:
inet_protocols = ipv4
rețelele mele = 127.0.0.0/8
inet_interfaces = 127.0.0.1, x.x.x.x
myhostname = mail.mydomain.com
maximal_queue_lifetime = 1h
bounce_queue_lifetime = 1h
timp_de_retragere_maximum = 15m
minim_backoff_time = 5m
queue_run_delay = 5m
tls_preempt_cipherlist = da
tls_ssl_options = NO_COMPRESSION
tls_high_cipherlist = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:! :!PSK:!DSS:!RC4:!SEED:!IDEE:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA
smtp_tls_security_level = dane
smtp_dns_support_level = dnssec
smtp_tls_policy_maps = mysql:/etc/postfix/sql/tls-policy.cf
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_tls_protocols = !SSLv2, !SSLv3
smtp_tls_ciphers = mare
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtpd_tls_security_level = mai
smtpd_tls_protocols = !SSLv2, !SSLv3
smtpd_tls_ciphers = mare
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_cert_file=/etc/letsencrypt/live/mail.mydomain.com/fullchain.pem
smtpd_tls_key_file=/etc/letsencrypt/live/mail.mydomain.com/privkey.pem
smtpd_tls_dh1024_param_file=/etc/ssl/dh2048.pem
virtual_transport = lmtp:unix:private/dovecot-lmtp
smtpd_milters = inet:localhost:11332
non_smtpd_milters = inet:localhost:11332
milter_protocol = 6
milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
milter_default_action = accept
smtpd_relay_restrictions = reject_non_fqdn_recipient
reject_unknown_recipient_domain
permis_rețelele mele
reject_unauth_destination
smtpd_recipient_restrictions = check_recipient_access mysql:/etc/postfix/sql/recipient-access.cf
smtpd_client_restrictions = permit_mynetworks
check_client_access
hash:/etc/postfix/without_ptr
reject_unknown_client_hostname
smtpd_helo_required = da
smtpd_helo_restrictions = permit_mynetworks
reject_invalid_helo_hostname
reject_non_fqdn_helo_hostname
reject_unknown_helo_hostname
smtpd_data_restrictions = reject_unauth_pipelining
mua_relay_restrictions = reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_mynetworks,permit_sasl_authenticated,reject
mua_sender_restrictions = permit_mynetworks,reject_non_fqdn_sender,reject_sender_login_mismatch,permit_sasl_authenticated,reject
mua_client_restrictions = permit_mynetworks,permit_sasl_authenticated,reject
postscreen_access_list = permit_mynetworks
cidr:/etc/postfix/postscreen_access
postscreen_blacklist_action = drop
postscreen_greet_action = drop
postscreen_dnsbl_threshold = 2
postscreen_dnsbl_sites = ix.dnsbl.manitu.net*2
zen.spamhaus.org*2
postscreen_dnsbl_action = drop
virtual_alias_maps = mysql:/etc/postfix/sql/aliases.cf
virtual_mailbox_maps = mysql:/etc/postfix/sql/accounts.cf
virtual_mailbox_domains = mysql:/etc/postfix/sql/domains.cf
local_recipient_maps = $virtual_mailbox_maps
cutie_poștală_size_limit = 0
limită_dimensiunea mesajului = 52428800
biff = nu
append_dot_mydomain = nr
destinatar_delimiter = +