On Mon, 30 Jan 2006, John Peacock wrote:

csere matyas wrote:
if i shut down the smtpd, there are often some files stuck in tmp. i would like to know if these mails are getting delivered, sooner or later, (or they did already and i can just delete them?). if not, how can i deliver them properly.

Yes, as Sydney described, they are messages that failed for some reason, typically because the remote server failed to complete the SMTP transaction. However, I thought we had adjusted things such that these temporary files should be deleted when the Transaction goes out of scope.

Which might be fine, but sometimes perl will die or be killed without executing the cleanup code. Have you considered unlinking the file as soon as it is created? As long as qpsmtpd has an open file handle, the file is usable, and you don't need to do any extra cleanup.

---
Charlie

Reply via email to