Portál AbcLinuxu, 8. května 2025 04:29
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 html_directory = no ignore_mx_lookup_error = yes inet_interfaces = all inet_protocols = all lmtp_host_lookup = native local_recipient_maps = local_transport = lmtp:unix:private/dovecot-lmtp mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost mydomain = domena.cz myhostname = domena.cz newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES sample_directory = /usr/share/doc/postfix-2.10.1/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_host_lookup = native smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt smtp_tls_loglevel = 1 smtp_tls_security_level = may smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_unknown_client_hostname, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_rbl_client bl.spamcop.net, reject_unknown_client_hostname, reject_unauth_destination smtpd_tls_cert_file = /etc/letsencrypt/live/domena.cz/cert.pem smtpd_tls_key_file = /etc/letsencrypt/live/domena.cz/privkey.pem smtpd_use_tls = yes unknown_local_recipient_reject_code = 550a když do /etc/aliases zadám info: uzivatel tak mi pošta pořád chodí do info. A když dám info@domena.cz: uzivatel@domena.cz, tak mi to pyskuje postalias: warning: /etc/aliases, line 98: name must be local Co mám špatně? Předem děkuji za odpovědi.
To turn off local recipient checking in the Postfix SMTP server, specify "local_recipient_maps =" (i.e. empty).
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.