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


ru.unix

 
 - RU.UNIX ----------------------------------------------------------------------
 From : Dennis Melentyev                     2:5020/400     05 Apr 2001  17:56:06
 To : All
 Subject : Re: Procmail question
 -------------------------------------------------------------------------------- 
 
 On Thu, 5 Apr 2001 13:37:41 +0000 (UTC), Stepan Koltsov wrote:
 
 SK> Привет, All.
 SK> 
 SK> 1 question. Как сделать так, чтобы сабж при создании ящика пользователя
 SK> (например /var/mail/petya) делал ему owner.group petya.mail а не root.mail?
 SK> 
 SK> Проявляется при прописывании правил в /etc/procmailrc, при ~/.procmailrc
 SK> всё ок.
 SK> 
 SK> Возможно я доки не дочитал, поиск в манах по словам owner, permission ни
 SK> к чему не привёл.
 SK> 
 SK> И заодно ещё вопрос, чем ещё можно считать почтовый траффик? :-)
 
 Вариант 1. Поставить поппер/мейлер, не удаляющий их. ;)
 Вариант 2. chown ???.!!! /var/mail/???в /etc/procmailrc
 Оба кривые, но сходу в голову ничего больше не пришло.
 Из man procmail может натолкнет на мысль:
        -d recipient ...
             This  turns  on explicit delivery mode, delivery will
             be to the local user  recipient.   This,  of  course,
             only  is possible if procmail has root privileges (or
             if procmail is already running with  the  recipient's
             euid and egid).  Procmail will setuid to the intended
             recipients  and  shall  only  read  the   recipient's
             $HOME/.procmailrc  file (if present, if not, delivery
             is like ordinary mail).  This option is  incompatible
             with -p.
 И еще в MISCELLANEOUS есть интересные фразы. 
 PS. grep uid
 
 -- 
                             Dennis Melentyev 
                 C/C++ programmer @ Mebius-KB, Kiev, Ukraine
                         dennis@mebius-kb.kiev.ua 
 
 --- ifmail v.2.15dev5
  * Origin: Mebius-KB (2:5020/400)
 
 

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

 Тема:    Автор:    Дата:  
 Re: Procmail question   Dennis Melentyev   05 Apr 2001 17:56:06 
Архивное /ru.unix/16505361dbd61.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional