Re: Qmail-Scanner Config File / Archive

Salvatore Toribio <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <a06240800c1ef4178b6ad@[10.0.1.2]>
At 12:39 -0500 6-02-2007, Steve Kamerman wrote:
>version:
>[root@mail teratech]# cat /var/spool/qscan/qmail-scanner-queue-version.txt
>clamdscan: 0.88.7/2527. spamassassin: 3.0.6. perlscan: 2.01st.
>
>I have tried to enable the archive option for qmail-scanner in 
>/etc/qmail-scanner.ini like this:
>
>ARCHIVE="(addr1|addr2|addr3)\@clientdomain\.com"   # [yes|no|regex]
>
>But I am seeing no mail in the location that I expect to see the 
>archives: /var/spool/qscan/archives/(new|cur|tmp)
>

Hi Steve

You are using a modified version of 2.01st, because there is no 
qmail-scanner.ini in the 2.01st version. Maybe you are using Plesk 
(?).

The regex is correct and I use a similar ore that works pretty well, 
just without the backslash before the dot, but I don't think that is 
a problem. I don't know how qmail-scanner-queue.pl reads that 
qmail-scanner.ini so the problem could be there.

>Upon further investigation, I saw this line in my qmail-queue.log:
>
>Tue, 06 Feb 2007 12:26:18 EST:12911: s_p_d: 
>/var/spool/qscan/settings_per_domain.db doesn't exist falling to 
>installed scanners
>
>So I went back into /etc/qmail-scanner.ini and turned off the 
>per-domain setting:
>
>SETTINGS_PER_DOMAIN="no"               # [yes|no]
>
>And restarted qmail (/etc/init.d/qmail restart).  The per domain 
>errors are still showing up and the archives are still empty.
>
>It would appear that qmail-scanner is not looking at my 
>/etc/qmail-scanner.ini file.  Is that the normal location for that 
>file?  Do I need to reload the config a different way?  As far as I 
>can tell qmail-scanner is just a perl script, so there is no daemon 
>out there to SIGHUP or anything.

Again, the problem is in qmail-scanner.ini, I guess that is only read 
during the installation...

>On top of these issues, qmail-scanner is reporting an incorrect time 
>in my maillog - behind by 3 hours.  I am in -5 GMT so that stumps me:
>
>Feb  6 12:31:30 216-55-149-29 qmail: 1170783090.793895 new msg 2984894
>Feb  6 12:31:30 216-55-149-29 qmail: 1170783090.794198 info msg 
>2984894: bytes 18736 from <[email protected]> qp 13033 uid 10003
>Feb  6 12:31:30 216-55-149-29 qmail: 1170783090.804484 starting 
>delivery 74: msg 2984894 to remote [email protected]
>Feb  6 12:31:30 216-55-149-29 qmail: 1170783090.804724 status: local 
>0/100 remote 1/100
>Feb  6 09:31:30 216-55-149-29 qmail-scanner[13021]: 
>Clear:RC:0(69.87.156.144):SA:0(0.2/5.0): 6.113347 18326 
>[email protected] [email protected] RE:_Foam 
><[email protected]> 1170783084.13023-0.domain.com:1498 
>1170783084.13023-1.domain.com:14756
>Feb  6 12:31:32 216-55-149-29 qmail: 1170783092.228591 delivery 74: 
>success: 
>66.184.69.34_accepted_message./Remote_host_said:_250_2.6.0_<[email protected]>_Queued_mail_for_delivery/
>Feb  6 12:31:32 216-55-149-29 qmail: 1170783092.228850 status: local 
>0/100 remote 0/100
>Feb  6 12:31:32 216-55-149-29 qmail: 1170783092.229024 end msg 2984894

this is the log of qmail-send not qmail-scanner...

Regards

ST

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.