Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5351931
  • 博文数量: 1144
  • 博客积分: 11974
  • 博客等级: 上将
  • 技术积分: 12312
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-13 20:06
文章存档

2017年(2)

2016年(14)

2015年(10)

2014年(28)

2013年(23)

2012年(29)

2011年(53)

2010年(86)

2009年(83)

2008年(43)

2007年(153)

2006年(575)

2005年(45)

分类:

2006-02-17 13:53:19

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) |
给主人留下些什么吧!~~