This command is not intended to be run directly by a user, but may
appear in any mail whose subject is set to Command. Such mail
will be processed by the mailagent(1), which will extract all lines
beginning with @SH, which may specify this command. The
mailagent first sets environment variables that will be used by the
Package is used to notify the author of a package about its users.
It is normally generated automatically by the MailAuthor.U unit when the user
patchlevel specified is not the latest for that
version, mail is immediately sent suggesting that they upgrade and remindng them how to
request the latest patches.
The final parameter, if included may be set to
mailpatches to specify that the user would like to have future patches mailed to them, or
notifypatches to specify that a mail notification of future patches should be sent, rather
than the entire patch.
address and notification request are saved in the file
users in the packages directory.
Package performs an approximate address match in order to avoid duplicate entries.
Whenever this elimination occurs, a warning message is issued in the logfile.
Two addresses will be said equivalent if one of them has an added machine name
or if they are really equal. Therefore, the following addresses are equivalent:
whereas the following two are not equivalent, unfortunately:
When a user is asking to be left alone, it is important to let him know if
the request failed, because he will be annoyed when the next set of patches
is issued and he still gets them despite his previous request. Therefore, if
no approximate match occurs, a warning message is sent back, with a list
of addresses that are close to his own e-mail address, but not
equivalent. Fortunately, the following addresses are considered close:
because they either have the same login (important when someone changes
company) or share the same domain or sub-domain part.
In order to edit the users file, the
edusers script should be used. For one thing, it will let you edit the
users file from
whatever package you name in the command line, but it will also properly lock
the file so that the execution of package will stall for the duration
of the manual edition (provided you have a strict locking policy defined in
your ~/.mailagent configuration file).