История изменений
Исправление Pinkbyte, (текущая версия) :
Перед permit_my_networks в sender_restrictions вставить check_sender_access hash:/etc/postfix/conf/sender_access
Restriction class будет выглядеть так(на всякий случай объяви это до sender_restrictions, но ЕМНИП postfix-у пофиг на порядок параметров):
smtpd_restriction_classes = internal_only
internal_only = permit_auth_destination, reject
Файл internal_only не нужен. Файл sender_access такой:
three.org internal_only
Исправление Pinkbyte, :
Перед permit_my_networks в sender_restrictions вставить check_sender_access hash:/etc/postfix/conf/sender_access
Restriction class будет выглядеть так(на всякий случай объяви его до sender_restrictions, но ЕМНИП postfix-у пофиг на порядок параметров):
smtpd_restriction_classes = internal_only
internal_only = permit_auth_destination, reject
Файл internal_only не нужен. Файл sender_access такой:
three.org internal_only
Исходная версия Pinkbyte, :
Перед permit_my_networks в sender_restrictions вставить check_sender_access hash:/etc/postfix/conf/sender_access
Restriction class будет выглядеть так:
smtpd_restriction_classes = internal_only
internal_only = permit_auth_destination, reject
Файл internal_only не нужен. Файл sender_access такой:
three.org internal_only