Portál AbcLinuxu, 11. listopadu 2025 20:18
Všechno funguje OK dokud postfix nemá přijmout poštu od někoho zvenku(třeba ze seznamu). Používám zatím pouze metodu ověřování PLAIN. TLS jsem zatím ještě nestihnul.
Do logu postfixe mi to hodí chybu:check_recipient_access druh_mapy:nazev_mapymapu mam ulozenou v mysql kde je uvedena domena pro kterou ma prijimat postu. Nahled meho konfiguraku omezeni. Takhle by ti to melo chodit.
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
check_recipient_access mysql:/etc/postfix/mysql-recipient.cf,
reject_unknown_sender_domain,
check_relay_domains,
reject
permit_sasl_authenticated - povoli odeslani posty autentifikovanym uzivatelum
Pokud to chapu i ja dobre tak by ten popis samostatnych polozek mel sedet
Děkuji mockrát.
permit_auth_destination
Permit the request when one of the following is true:
* Postfix is mail forwarder: the resolved RCPT TO address
matches $relay_domains or a subdomain thereof, and the address contains
no sender-specified routing (user@elsewhere@domain),
* Postfix is the final destination: the resolved RCPT TO address
matches $mydestination, $inet_interfaces, $proxy_interfaces, $virtual_alias_domains, or $virtual_mailbox_domains, and the address
contains no sender-specified routing (user@elsewhere@domain).
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
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.