настройка postfix

rolex1993

задача:
уговорить постфикс не отправлять сообщения от локальных пользователей кроме указанных в $local_recipient_maps
как я понял для этого нужно:
smtpd_sender_restrictions = reject_unlisted_sender, ...
или просто:
smtpd_reject_unlisted_sender = yes
smtpd_reject_unlisted_sender (default: no)
Request that the Postfix SMTP server rejects mail from unknown sender addresses, even when no explicit reject_unlisted_sender access restriction is specified. This can slow down an explosion of forged mail from worms or viruses.
The sender domain matches $mydestination, $inet_interfaces or $proxy_interfaces, but the sender is not listed in $local_recipient_maps, and $local_recipient_maps is not null.
The sender domain matches $virtual_alias_domains but the sender is not listed in $virtual_alias_maps.
The sender domain matches $virtual_mailbox_domains but the sender is not listed in $virtual_mailbox_maps, and $virtual_mailbox_maps is not null.
The sender domain matches $relay_domains but the sender is not listed in $relay_recipient_maps, and $relay_recipient_maps is not null.
This feature is available in Postfix 2.1 and later.
однако что-то не работает - я могу от любого локальноно пользователя послать письмо sendmail-ом
что я делаю не так?

Marinavo_0507

Request that the Postfix SMTP server...
Если письмо создано локально, то SMTP server не у дел.

rolex1993

гляди-ка, и правда )
спасибо
зы authorized_submit_users для локальных пользователей оказывается
Оставить комментарий
Имя или ник:
Комментарий: