Technical article 105159

lmail leaves a copy of every e-mail message in the /usr/tmp directory.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

lmail leaves a copy of every e-mail message in the /usr/tmp
directory.  I am running sendmail as my mail transport agent.

Solution

This problem has been reported to SCO engineering.

A temporary workaround is to create a crontab entry that deletes the copies of the e-mail at specified intervals.

You must be logged in as root to add an entry to the crontab.

Change directories to /usr/spool/cron/crontabs.  Using your
favorite text editor, edit the file "root".  Add an entry
in the file that looks similar to the following:
3 3 * * *    rm /usr/tmp/lma*
This will remove the copies of the e-mail messages left
by lmail every day at 3:03 A.M.  The time and day that
this command is run is arbitrary and can be set according
to the system administrator's preference.

See also

crontab(C), cron(C), lmail(ADMN), sendmail(ADMN)

From the Xinuos technical article database, record 105159. Reproduced with permission. The original is at www.sco.com/ta/105159, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.