ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Q: procmail & mbox locking
Date: Fri, 20 Jan 2006 09:07:02 +0300
Message-ID: <20060120060701.GA4430@basalt.office.altlinux.org> (raw)
In-Reply-To: <1137715382.8845.11.camel@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

On Fri, Jan 20, 2006 at 03:03:02AM +0300, Mikhail Zabaluev wrote:
> В procmail(1) сказано, что утилита использует файлы .lock, чтобы
> охранять доступ к mbox-файлам. Тем не менее, насколько я помню, вся
> работа с mbox в дистрибутиве охраняется через fcntl и в истории пакета
> procmail я вроде вижу, что procmail действительно должен работать через
> fcntl. Отсутствие setgid mail у procmail и postfix/local это как будто
> подтверждает.

procmail(1) использует fcntl всегда, когда собирается вносить изменения в
mbox-файлы.  lock-файлы используются только такие и тогда, какие и когда
определены правилами в .procmailrc, см. procmailrc(5).

postfix/local использует то, что определено в main.cf, по умолчанию
$ /usr/sbin/postconf mailbox_delivery_lock
mailbox_delivery_lock = fcntl

Что именно используется для локальной доставки, определяется параметром
mailbox_command.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2006-01-20  6:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-20  0:03 Mikhail Zabaluev
2006-01-20  6:07 ` Dmitry V. Levin [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=20060120060701.GA4430@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git