arepdaemon(8) CLIX arepdaemon(8)
NAME
arepdaemon - Checks incoming mail and sends an automatic reply
SYNOPSIS
arepdaemon
DESCRIPTION
The autoreply daemon, arepdaemon, runs in the background and checks the
/etc/autoreply.data file for users who have used the autoreply command.
It then checks each user's mailbox for new mail. If new mail has arrived,
arepdaemon responds to the mail by sending the file specified by the user
to the sender. This file contains a message, such as one that indicates
the user is on vacation and will respond to the mail at some later date.
FILES
/etc/autoreply.data
Contains the data for every user currently using the autoreply
system. The data has the following form:
username replyfile current-mailfile-size
To avoid a flood of autoreplies, this program will not reply to
mail that contains the header X-Mailer: fastmail. In addition,
each time the program responds to mail, the current-mailfile-size
entry is updated in /etc/autoreply.data to allow the system to be
shut down and rebooted without any loss of data or duplicate
messages.
/usr/spool/locks/LCK..arep
A lock semaphore file used by the arepdaemon daemon to ensure that
no more than one copy of itself is running. For this reason, it is
recommended that this daemon be started up each morning from cron,
since it will either start because it is needed, or simply see that
the file is there and disappear.
/etc/autoreply.log
Log file for reply information.
/tmp/autoreply.log
Second choice for log file if first choice fails for any reason.
NOTES
Since this particular program is the main daemon answering any number of
different users, it must be run with the user ID of root.
2/94 - Intergraph Corporation 1
arepdaemon(8) CLIX arepdaemon(8)
DIAGNOSTICS
Couldn't add username - already at max people!
The system allows a maximum of 100 users at one time to be
entered in the autoreply system.
Error number attempting fstat on mailbox
A system error occurred trying to read the given mailbox.
EXIT VALUES
The command exits with a value of 0 if successful, or if the daemon is
already running. The command exits with a value of 1 if the daemon is
unable to open the log file, or if it was killed with a SIGTERM signal.
RELATED INFORMATION
Commands: autoreply(1), cron(8)
2 Intergraph Corporation - 2/94