* [Sysadmins] Change gid for mailbox_command in postfix
@ 2009-12-21 15:34 Eugene Prokopiev
2009-12-22 15:10 ` Rinat Shigapov
0 siblings, 1 reply; 2+ messages in thread
From: Eugene Prokopiev @ 2009-12-21 15:34 UTC (permalink / raw)
To: Sysadmins
Здравствуйте!
# grep mailbox_command /etc/postfix/main.cf
mailbox_command = /tmp/mail
# cat /tmp/mail
id > /tmp/mail.out
В /tmp/mail.out попадает:
uid=500(enp) gid=500(enp) groups=500(enp)
А хотелось бы в gid видеть 12(mail), т.к. в эту группу enp входит и
этой группе может запускать dspam. Можно ли такое настроить?
--
С уважением,
Прокопьев Евгений
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Sysadmins] Change gid for mailbox_command in postfix
2009-12-21 15:34 [Sysadmins] Change gid for mailbox_command in postfix Eugene Prokopiev
@ 2009-12-22 15:10 ` Rinat Shigapov
0 siblings, 0 replies; 2+ messages in thread
From: Rinat Shigapov @ 2009-12-22 15:10 UTC (permalink / raw)
To: sysadmins
On 21.12.2009 20:34, Eugene Prokopiev wrote:
> Здравствуйте!
>
> # grep mailbox_command /etc/postfix/main.cf
> mailbox_command = /tmp/mail
> # cat /tmp/mail
> id> /tmp/mail.out
>
> В /tmp/mail.out попадает:
> uid=500(enp) gid=500(enp) groups=500(enp)
>
> А хотелось бы в gid видеть 12(mail), т.к. в эту группу enp входит и
> этой группе может запускать dspam. Можно ли такое настроить?
>
На нужные исполняемые файлы и директории можно поставить бит setgid.
--
С уважением,
инженер-программист ООО "Невод"
Ринат Шигапов
Jabber ID: dxist эт ya.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-22 15:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-21 15:34 [Sysadmins] Change gid for mailbox_command in postfix Eugene Prokopiev
2009-12-22 15:10 ` Rinat Shigapov
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git