[PREVIOUS CHAPTER]
[______TOC_______]
5 Confirmation Daemon (libexec/confirmd.pl)
This function is implemented after 2.1B#2.
5.1 Introduction
Confirmd periodically queries whether you continue to join this list
or not? If the reply comes within a period (default 2 weeks), confirmd
does nothing (he/she continues to be a member). If not replied,
confirmd removes the member. When the reply comes, the declaration of
intent has been valid until a period (default 2 months) after
it. After the period, confirmd queries the will of joining this list
again.
Confirmd is executed from cron.pl like a msend.pl (digest). A crontab
sample generated by "makefml newml" has an entry (commented out) for
confirmd.
5.2 Hot to Set Up
confirmd configuration is commented out in crontab generated by
"makefml newml". Please uncomment it and runs "crontab" command to set
up system cron entries.
Example:
# confirmd
# * 5 * * * _EXEC_DIR_/libexec/confirmd.pl _ML_DIR_/_ML_ _EXEC_DIR_
5.3 Variables
$CONFIRMD_ACK_EXPIRE_UNIT (2 months in default)
In this period $CONFIRMD_ACK_EXPIRE_UNIT, your reply (the will to join
this list) is effective. After this period, confirmd queries your
intent again.
$CONFIRMD_ACK_WAIT_UNIT (2 weeks in default)
After the query is sent, confirmd waits for your reply until
$CONFIRMD_ACK_WAIT_UNIT.
Available representations for the unit time are
Regular Expression Example
------------------------------------
\d+ month(s) 2 months
\d+ week(s) 2 weeks
\d+ day(s) 2 days
\d+ 3600
5.4 Files
$CONFIRMD_ACK_REQ_FILE ($DIR/confirmd.ackreq)
is a template confirmd uses for the query.
$CONFIRMD_ACK_LOGFILE
is the log file of replies.