fml 8 tutorial
Prev | Chapter 31. fml8 Mail Delivery System | Next

# 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.

Prev | Home | Next
Mail Queue And Delivery System | Up | Queue Management System

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.