MAILASM(8) Legato NetWorker 4.0 MAILASM(8)
NAME
mailasm - NetWorker module for saving and recovering mailboxes
SYNOPSIS
mailasm [standard-asm-arguments]
DESCRIPTION
The mailasm is a standard, external ASM (Application Specific Module)
that assists in the saving and recovery of UNIX mailbox files.
See uasm(8) for a general description of ASM's and the [standard-asm-
arguments]. It is intended that mailasm be invoked by uasm during
save(8) or recover(8) operations.
Actions performed by mailasm, specific to the UNIX mail mailbox con
ventions during a save are:
Save decision:
The decision to save a file is based on the file's modify time
as opposed to the normal convention based on the file's change
time (see stat(2) for a detailed discussion of file
attributes).
Locking conventions:
When a file is saved, this ASM uses the same locking conven
tion that the mail system's writers and readers use in order
to get a consistent copy of the mailbox.
File access time reset:
After a mailbox's data has been saved, this ASM resets the
mailbox's access time and modify time back to their pre-save
values. Note that this reset causes the file's change time to
be updated; this necessitates the first action described
above.
No special actions are taken by mailasm during file recovery.
The net effect of this ASM prevents mail reading (or mailbox stat
ting) programs from erroneously concluding that a user has no new
mail after the NetWorker save operation has read and backed up the
user's mailbox file data.
EXAMPLE
To install the mailasm, the system administrator should create a
directive file /var/spool/mail/.nsr with the following contents:
mailasm: *
This causes all mailbox files to be saved in the manner described
above.
FILES
/var/spool/mail Mailbox directory.
Licensed material--property of copyright holder(s) 1
MAILASM(8) Legato NetWorker 4.0 MAILASM(8)
/var/spool/mail/.nsr
The directive file that causes mailasm to be
invoked on all mailbox files.
SEE ALSO
mail(1), stat(2), nsr(5), recover(8), save(8), uasm(8)
Licensed material--property of copyright holder(s) 2