Menu

#3 server leaves e-mail that fills /tmp directory

open
nobody
None
7
2004-12-03
2004-12-03
w0nderd0g
No

The dicey server currently sends e-mail by shelling out
to sendmail in a system call. It creates a temp file
that does not get deleted.

suggested fix: instead of calling sendmail directly,
make a use a shell script that sends the e-mail and
then deletes the temp file. Instead of backgrounding
the call to sendmail, just background the call to this
script.

[yeah, the security implications of this whole
architecture need to be carefully reviewed right now.]

Discussion


Log in to post a comment.