1. How should I start qmail-smtpd to generate the correct type of logs?
Start up qmail-smtpd
Your run file should look similar to this but may be different due to
additional patches like smtp-auth etc
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -v -H -R -l$HOSTNAME -x /home/vpopmail/etc/tcp.smtp.cdb \
-c200 -u8002 -g8001 0 25 /var/qmail/bin/qmail-smtpd 2>&1
Your log/run files should look something like this. The actual path for the
log files is up to you
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog \
t s5000000 n10 /var/log/qmail/smtpd \
t s5000000 n10 '-*' '+* simscan:*' /var/log/qmail/simscan 2>&1
2. What is simscan ?
Simscan is a qmail scanner developed by the fine folks at Inter7
Go see them at
3. Bah, I don't want to wait to see some virus information!
Modify the virusscanner.c program so that the start time is way
back in the past and run it once, then change it back and install it.
Find
start_time = end_time - 300;
and change it to
start_time = end_time - 2592000;
make and ./virusscanner /var/log/qmail/simscan
That will give you up to a month worth's of data if your log files
go back that far.
Change the line back to the original line and make; make install
阅读(885) | 评论(0) | 转发(0) |