Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Alexander Kulinich                   2:5020/400     09 Oct 2004  00:59:06
 To : Andrey Lipsky
 Subject : Re: postfix
 -------------------------------------------------------------------------------- 
 
 Andrey Lipsky <Andrey.Lipsky@f237.n450.z2.fidonet.org> wrote:
 
 > >> Есть домен domain.ru и кyча ящиков, типа userXX@domain.ru. Вопpос: можно ли
 > >> сабжем делать запpет отпpавки писем от пользователя user01@domain.ru
 > >> пользователю user02@domain.ru ?
 > AK>   Можно. См. restriction_classes
 > Hе нашел, можно экзампл?
 
 Для данного конкретного случая, где-то так:
 
 smtpd_recipient_restrictions =
                 permit_mynetworks,
                 reject_unauth_destination,
                 check_sender_access hash:/usr/local/etc/postfix/check_sender,
                 permit
 smtpd_restriction_classes =
                         check_recipient
 check_recipient =
    check_recipient_access hash:/usr/local/etc/postfix/check_recipient
 
 /usr/local/etc/postfix/check_sender:
 user01@domain.ru        check_recipient
 
 /usr/local/etc/postfix/check_recipient:
 user02@domain.ru  REJECT
 
 -- 
  SY, Alexander Kulinich
 SputnikMedia.Net, Senior System Administrator
 The reality is thought up for a people which don`t have imagination
 --- ifmail v.2.15dev5.3
  * Origin: NTUU "KPI" (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 postfix   Andrey Lipsky   01 Oct 2004 23:46:44 
 Re: postfix   Alexander Kolesnikoff   04 Oct 2004 17:13:13 
 postfix   Andrey Lipsky   07 Oct 2004 23:13:16 
 Re: postfix   Alexander Kulinich   09 Oct 2004 00:59:06 
Архивное /ru.unix.bsd/18078a700e1bd.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional