To have mail filed by rcvfile, format the ``Subject:'' line as follows:
Subject: rcvfile output-filenameThe destination file name is created by concatenation of the directory argument, a slash (/), and the filename given in the subject field after the rcvfile keyword. The filename from the subject field is not allowed to contain any ``..'' directory components. If any are found, rcvfile quits. When a message is stored, the message headers are removed and only the text is stored in the specified file.
The directory argument is required. The -l option sets the logfile where a record of rcvfile activity is made. The file must already exist and be writable by the recipient. The -m option enables the creation of missing directories in the pathname of a file to be created. The created directories are given permission modes of 0755.
The owner of the created file is notified by mail when a file is
delivered, with information about who sent it and other
relevant facts. It is possible that the owner may not be the
recipient if the referenced file existed, was owned by another
user, and was writable. If the file delivery fails for any
reason, the message is delivered as normal mail.
subject rcvfile pipe A rcvfileor
Addr user=file pipe A rcvfile
Specify the full pathname of rcvfile if /usr/bin is not in your search path.
MMDF is not part of any currently supported standard; it was developed at the University of Delaware and is used with permission.