Portál AbcLinuxu, 5. listopadu 2025 09:34
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = yes
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_command =
mailbox_size_limit = 0
masquerade_domains = $mydomain
mydestination = $myhostname,$mydomain,localhost
mydomain = techon.cz
myhostname = host.domena.cz
mynetworks = 192.168.1.0/28 127.0.0.0/8
myorigin = /etc/mailname >> zde je host.domena.cz
readme_directory = no
recipient_delimiter = +
relay_domains = $mydestination
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_non_fqdn_sender reject_unknown_sender_domain reject_unknown_recipient_domain permit_mynetworks check_client_access hash:/var/lib/pop-before-smtp/hosts reject_unauth_destination reject_multi_recipient_bounce permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_ask_ccert = yes
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/cacert.pem
smtpd_tls_key_file = /etc/ssl/private/privkey.pem
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
Nevedel by nekdo, kde je zakopany pes, resim uz to 2 dny.
diky!
Řešení dotazu:
Connecting techon.cz:25
resp <- 220 raspberrypi.techon.cz ESMTP Postfix (Debian/GNU)
send -> helo techon.cz
resp <- 250 raspberrypi.techon.cz
send -> mail from:[test@DNSEXIT.COM]
resp <- 250 2.1.0 Ok
send -> rcpt to:[root@techon.cz]
resp <- 250 2.1.5 Ok
send -> data
resp <- 354 End data with .
send -> Subject: DNS Exit Email Test
send -> Please ignore this email.
Test email by MX testing tool at
http://www.dnsExit.com/Direct.sv?cmd=testMailServer
send -> .
resp <- 250 2.0.0 Ok: queued as 9F28241AC4
------------------------------------------------------------
Successful !! techon.cz is OK to receive emails for techon.cz
Důvod / Reason: --------------- 5.0.0 smtp; 554 5.7.1 root@techon.cz: Relay access denied Permanent Failure - Other or Undefined Status
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.