История изменений
Исправление Pinkbyte, (текущая версия) :
да, вынеси permit_auth_destination повыше в sender_restrictions и recipient_restrictions
Выдержка из man:
permit_auth_destination
Permit the request when one of the following is true:
Postfix is mail forwarder: the resolved RCPT TO domain 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 domain matches $mydestination, $inet_interfaces, $proxy_interfaces, $virtual_alias_domains, or $virtual_mailbox_domains, and the address contains no sender-specified routing (user@elsewhere@domain).
Если relay_domains у тебя пустые - это и будет значит то, что ты хочешь
Или смени check_recipient_access в restriction-классе на permit_auth_destination(так правильнее ИМХО)
Исходная версия Pinkbyte, :
да, вынеси permit_auth_destination повыше в sender_restrictions и recipient_restrictions
Выдержка из man:
permit_auth_destination
Permit the request when one of the following is true:
Postfix is mail forwarder: the resolved RCPT TO domain 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 domain matches $mydestination, $inet_interfaces, $proxy_interfaces, $virtual_alias_domains, or $virtual_mailbox_domains, and the address contains no sender-specified routing (user@elsewhere@domain).
Если relay_domains у тебя пустые - это и будет значит то, что ты хочешь