Andrii Dobrovol`s`kii wrote:

> Вадим Илларионов пишет:
>>> Есть адрес, при поступлении на который почты она пересылается всем
>>> пользователям. Это только для внутреннего употребления.
>>> Как закрыть на него приём почты извне, чтобы внутренняя ходила
>>> по-прежнему?
>> Спасибо, нашёл. :)
>> Извините за внимание...

> Ну так Вы бы уже заодно и зафиксировали для истории...

Да ведь прям с оттудовного фака:
http://www.postfix.org/RESTRICTION_CLASS_README.html

Protecting internal email distribution lists

We want to implement an internal email distribution list. Something like
[EMAIL PROTECTED], which aliases to all employees. My first thought was to
use the aliases map, but that would lead to "all" being accessible from
the "outside", and this is not desired... :-) 
Postfix can implement per-address access controls. What follows is based on
the SMTP client IP address, and therefore is subject to IP spoofing. 

/etc/postfix/main.cf:
    smtpd_recipient_restrictions =
        check_recipient_access hash:/etc/postfix/access
        ...the usual stuff...

/etc/postfix/access:
    [EMAIL PROTECTED]   permit_mynetworks,reject
    [EMAIL PROTECTED] permit_mynetworks,reject

Вот. Ифсио...
_________________________________
С уважением,
Вадим Илларионов
системный администратор
ООО "Новые Системы Телеком"
UIN: 7899517
JID: master at usib dot irkps dot ru
Телефоны:
- рабочий    +7 495 6414045+5885
- мобильный  +7 916 3889337

_______________________________________________
Sysadmins mailing list
[email protected]
https://lists.altlinux.org/mailman/listinfo/sysadmins

Ответить