Hi,

For what i know, the temp files are from unterminated connections.
If a connection has not been normally ended, the sender should automatically 
resend the mail.  You can delete those files, they will not be processed later.

For the logging, see here : 
http://cr.yp.to/daemontools/multilog.html

the file you'll want to edit is log/run :

#! /bin/sh
export LOGDIR=./main
mkdir -p $LOGDIR
exec multilog t s1000000 n20 $LOGDIR

short explanation :
t inserts timestamp
s1000000 tells multilog to rotate after 1000000 bytes of data
n20 tells multilog to maintain at most 20 files.
The current file is named "current", and the older files are timestamped at the 
time of rotation.
To view one file in readable form :

tai64nlocal < current | less

Sydney.

-----Message d'origine-----
De : csere matyas [mailto:[EMAIL PROTECTED] 
Envoyé : Monday, January 30, 2006 9:50 PM
À : qpsmtpd@perl.org
Objet : tmp dir and logs

hi there!

i've just installed qpsmtpd, it looks really really promising!

however, 2 questions rose up allmost instantly:
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.

the other one would be with logging.
the log/main/ dir is filling up with files like 
@4000000043de33cc2adae8bc.s, will they stop at some point, or i have to 
finetune something in the conf to limit the max number of logs? (if so, 
which one?)


thanks in advance,
wd



Reply via email to