From: Rinat Shigapov <srk@nevod.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Change gid for mailbox_command in postfix
Date: Tue, 22 Dec 2009 20:10:29 +0500
Message-ID: <4B30E165.2070009@nevod.ru> (raw)
In-Reply-To: <f7a739430912210734p3e25a7acl5c2e0134465cf1cb@mail.gmail.com>
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
prev parent reply other threads:[~2009-12-22 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 15:34 Eugene Prokopiev
2009-12-22 15:10 ` Rinat Shigapov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B30E165.2070009@nevod.ru \
--to=srk@nevod.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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