[HOME] [NSRG] [インフラ] [fml4] [fml8] [北海道] [おすすめの本] Powered by NetBSD and [nuinui.net] .

Mail Queue Directory

The queue directory consists of the following plural directories:

new/
active/
incoming/
deferred/
info/sender/
info/recipients/
info/transport/
info/ stores envelope information. incoming/ holds incoming queue, others hold outgoing information.

In creating a new outgoing queue file, make a temporary file in new/ once. When the delivery preparation is ended, move the queue from new/ to active/. Hence files under active/ is delivery ready.

Lock The Queue

When we need to handle the specific queue file, use lock()/unlock() method for each $queue_id object. The lock algorithm is based on flock(2) for the file.

[HOME] [NSRG] [インフラ] [fml4] [fml8] [北海道] [おすすめの本] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2017 Ken'ichi Fukamachi mail:< fukachan at fml.org >