> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Samir Noshy
> Sent: Tuesday, July 12, 2005 3:43 PM
> To: 'Scott Ryan'; Qmail-scanner-general@lists.sourceforge.net
> Subject: RE: [Qmail-scanner-general]Scanning only the incomming mails
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] 
> On Behalf 
> > Of Scott Ryan
> > Sent: Tuesday, July 12, 2005 3:33 PM
> > To: Qmail-scanner-general@lists.sourceforge.net
> > Subject: Re: [Qmail-scanner-general]Scanning only the 
> incomming mails
> > 
> > This one time, at band camp, Samir Noshy wrote:
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > 
> > [mailto:[EMAIL PROTECTED] On Behalf
> > > > Of Scott Ryan
> > > > Sent: Tuesday, July 12, 2005 3:13 PM
> > > > To: Qmail-scanner-general@lists.sourceforge.net
> > > > Subject: Re: [Qmail-scanner-general]Scanning only the incomming 
> > > > mails
> > > > 
> > > > This one time, at band camp, Samir Noshy wrote:
> > > > > Hi Everybody,
> > > > > 
> > > > > I also tried to reconfigure my qmail-scanner-1.24 with
> > the option :
> > > > > 
> > > > >   --scanners clamdscan,fast_spamassassin=[SPAM]
> > > > > 
> > > > > But Also no enhancements in the performance issue ; i.e. 
> > > > the message
> > > > > also still Processed in more than 10 Secs (and I am sending
> > > > through my
> > > > > local network).
> > > > 
> > > > You delay is most likely caused by spamassassin. I notice that 
> > > > spamassassin is very slow and for that reason I do not 
> scan every 
> > > > incoming mail. I setup maildrop and do the spamassassin 
> scanning 
> > > > there.
> > > 
> > > How can do that ??
> > First you must know how to use maildrop or procmail (or some other 
> > kind of filtering app)
> > 
> > I use qmail-ldap and set my deliveryprogrampath=maildrop 
> <filterfile> 
> > where filterfile is the name of my maildrop filter file that tells 
> > maildrop to run the message through spamc. I also set the 
> deliverymode 
> > attribute to 'nolocal' to prevent duplicate mails.
> > 
> > If you are not using qmail-ldap I am sure you can use 
> dot-qmail files 
> > to do the same job. eg:
> > # cat /var/qmail/alias/.qmail-someuser
> > |maildrop filterfile
> 
> OK , I ll try that.
> 
> I tried something else which to disable the razor2 checking 
> in my /etc/mail/spamassassin/local.cf .
> Do you think that this razor2 checking or any other network 
> checking is important ???????????
> 
> 
> Thanks and Best Regards.
> 
>  Samir Noshy.


Also Attache my verbose razor-check on a spam email.
It takes about 10 Seconds to complete ...!!!!!!!
 
[EMAIL PROTECTED] Mail-SpamAssassin-3.0.2]# razor-check --verbose 
sample-spam.txt
 Razor-Log: Computed razorhome from env: /root/.razor
 Razor-Log: No razorhome found, using all defaults
 Razor-Log: read_file: 16 items read from /etc/razor/razor-agent.conf
Jul 12 16:15:48.817114 check[2822]: [ 2] [bootup] Logging initiated 
LogDebugLevel=9 to std
out
Jul 12 16:15:48.817824 check[2822]: [ 5] computed razorhome=, 
conf=/etc/razor/razor-agent.
conf, ident=identity
Jul 12 16:15:48.818021 check[2822]: [ 2]  Razor-Agents v2.67 starting 
razor-check --verbos
e sample-spam.txt
Jul 12 16:15:48.821755 check[2822]: [ 9] uname -a: Linux qmailtest 2.4.20-8 #1 
Thu Mar 13
17:54:28 EST 2003 i686 i686 i386 GNU/Linux
Jul 12 16:15:48.822379 check[2822]: [ 8] reading straight RFC822 mail from 
sample-spam.txt
Jul 12 16:15:48.822858 check[2822]: [ 6] read 1 mail
Jul 12 16:15:48.823324 check[2822]: [ 8] Client supported_engines: 4 8
Jul 12 16:15:48.824091 check[2822]: [ 8]  prep_mail done: mail 1 headers=293, 
mime0=616
Jul 12 16:15:48.824510 check[2822]: [ 6] skipping whitelist file (empty?): 
razor-whitelist
Jul 12 16:15:48.824825 check[2822]: [ 7] Can't read file servers.discovery.lst, 
looking re
latve to
Jul 12 16:15:48.825296 check[2822]: [ 5] Can't read file 
/servers.discovery.lst: No such f
ile or directory
Jul 12 16:15:48.825533 check[2822]: [ 7] Can't read file 
servers.nomination.lst, looking r
elatve to
Jul 12 16:15:48.825729 check[2822]: [ 5] Can't read file 
/servers.nomination.lst: No such
file or directory
Jul 12 16:15:48.825967 check[2822]: [ 7] Can't read file servers.catalogue.lst, 
looking re
latve to
Jul 12 16:15:48.826166 check[2822]: [ 5] Can't read file 
/servers.catalogue.lst: No such f
ile or directory
Jul 12 16:15:48.826603 check[2822]: [ 5] no listfile: servers.catalogue.lst
Jul 12 16:15:48.826853 check[2822]: [ 6] no discovery listfile: 
servers.discovery.lst
Jul 12 16:15:48.827004 check[2822]: [ 5] Finding Discovery Servers via DNS in 
the razor2.c
loudmark.com zone
Jul 12 16:15:49.279648 check[2822]: [ 6] Found 1 Discovery Servers via DNS in 
the razor2.c
loudmark.com zone
Jul 12 16:15:49.280043 check[2822]: [ 8] Checking with Razor Discovery Server 
66.151.150.1
2
Jul 12 16:15:49.280316 check[2822]: [ 6] No port specified, using 2703
Jul 12 16:15:49.280469 check[2822]: [ 5] Connecting to 66.151.150.12 ...
Jul 12 16:15:50.096318 check[2822]: [ 8] Connection established
Jul 12 16:15:50.096639 check[2822]: [ 4] 66.151.150.12 >> 35 server greeting: 
sn=D&srl=501
&a=l&a=cg&ep4=7542-10
Jul 12 16:15:50.097017 check[2822]: [ 4] 66.151.150.12 << 12
Jul 12 16:15:50.097194 check[2822]: [ 6] a=g&pm=csl
Jul 12 16:15:50.509138 check[2822]: [ 4] 66.151.150.12 >> 32
Jul 12 16:15:50.509387 check[2822]: [ 6] response to sent.1
-csl=?
shock.cloudmark.com
.
Jul 12 16:15:50.509789 check[2822]: [ 8] Discovery Server 66.151.150.12 
replying with csl=
shock.cloudmark.com
Jul 12 16:15:50.510103 check[2822]: [ 4] 66.151.150.12 << 12
Jul 12 16:15:50.510263 check[2822]: [ 6] a=g&pm=nsl
Jul 12 16:15:50.925790 check[2822]: [ 4] 66.151.150.12 >> 51
Jul 12 16:15:50.926036 check[2822]: [ 6] response to sent.2
-nsl=?
joy.cloudmark.com
folly.cloudmark.com
.
Jul 12 16:15:50.926442 check[2822]: [ 8] Discovery Server 66.151.150.12 
replying with nsl=
joy.cloudmark.com
Jul 12 16:15:50.926651 check[2822]: [ 8] Discovery Server 66.151.150.12 
replying with nsl=
folly.cloudmark.com
Jul 12 16:15:50.927020 check[2822]: [ 5] no razorhome, not caching server info 
to disk
Jul 12 16:15:50.927316 check[2822]: [ 6] losing old server connection, 
66.151.150.12, for
new server, shock.cloudmark.com
Jul 12 16:15:50.927518 check[2822]: [ 5] disconnecting from server 66.151.150.12
Jul 12 16:15:50.927797 check[2822]: [ 4] 66.151.150.12 << 5
Jul 12 16:15:50.927950 check[2822]: [ 6] a=q
Jul 12 16:15:50.928215 check[2822]: [ 5] Connecting to shock.cloudmark.com ...
Jul 12 16:15:51.751147 check[2822]: [ 8] Connection established
Jul 12 16:15:51.751556 check[2822]: [ 4] shock.cloudmark.com >> 36 server 
greeting: sn=C&s
rl=5084&a=l&a=cg&ep4=7542-10
Jul 12 16:15:51.752114 check[2822]: [ 4] shock.cloudmark.com << 25
Jul 12 16:15:51.752291 check[2822]: [ 6] cn=razor-agents&cv=2.67
Jul 12 16:15:51.752658 check[2822]: [ 4] shock.cloudmark.com << 14
Jul 12 16:15:51.752828 check[2822]: [ 6] a=g&pm=state
Jul 12 16:15:52.568170 check[2822]: [ 4] shock.cloudmark.com >> 144
Jul 12 16:15:52.568420 check[2822]: [ 6] response to sent.5
-sv=3.58
sn=C
zone=razor2.cloudmark.com
ac=6
srl=5084
lm=4
bql=50
bqs=129
dre=4
se=C8
srf=FF
ep4=7542-10
ep8=20
ep10=5
crt=90
.
Jul 12 16:15:52.569757 check[2822]: [ 5] Updated to new server state srl 5084 
for server s
hock.cloudmark.com
Jul 12 16:15:52.570063 check[2822]: [ 6] shock.cloudmark.com is a Catalogue 
Server srl 508
4; computed min_cf=6, Server se: C8
Jul 12 16:15:52.570477 check[2822]: [ 8] Computed supported_engines: 4 8
Jul 12 16:15:52.570674 check[2822]: [ 5] no razorhome, not caching server info 
to disk
Jul 12 16:15:52.570812 check[2822]: [ 5] srl was updated, forcing discovery ...
Jul 12 16:15:52.571021 check[2822]: [ 5] no listfile: servers.catalogue.lst
Jul 12 16:15:52.571218 check[2822]: [ 8] already have 1 discovery servers
Jul 12 16:15:52.571387 check[2822]: [ 8] Checking with Razor Discovery Server 
66.151.150.1
2
Jul 12 16:15:52.571633 check[2822]: [ 6] losing old server connection, 
shock.cloudmark.com
, for new server, 66.151.150.12
Jul 12 16:15:52.571793 check[2822]: [ 5] disconnecting from server 
shock.cloudmark.com
Jul 12 16:15:52.572055 check[2822]: [ 4] shock.cloudmark.com << 5
Jul 12 16:15:52.572209 check[2822]: [ 6] a=q
Jul 12 16:15:52.572468 check[2822]: [ 5] Connecting to 66.151.150.12 ...
Jul 12 16:15:53.386140 check[2822]: [ 8] Connection established
Jul 12 16:15:53.386462 check[2822]: [ 4] 66.151.150.12 >> 35 server greeting: 
sn=D&srl=501
&a=l&a=cg&ep4=7542-10
Jul 12 16:15:53.386810 check[2822]: [ 4] 66.151.150.12 << 12
Jul 12 16:15:53.386973 check[2822]: [ 6] a=g&pm=csl
Jul 12 16:15:53.797632 check[2822]: [ 4] 66.151.150.12 >> 32
Jul 12 16:15:53.797860 check[2822]: [ 6] response to sent.7
-csl=?
shock.cloudmark.com
.
Jul 12 16:15:53.798225 check[2822]: [ 8] Discovery Server 66.151.150.12 
replying with csl=
shock.cloudmark.com
Jul 12 16:15:53.798535 check[2822]: [ 4] 66.151.150.12 << 12
Jul 12 16:15:53.798692 check[2822]: [ 6] a=g&pm=nsl
Jul 12 16:15:54.198972 check[2822]: [ 4] 66.151.150.12 >> 51
Jul 12 16:15:54.199213 check[2822]: [ 6] response to sent.8
-nsl=?
joy.cloudmark.com
folly.cloudmark.com
.
Jul 12 16:15:54.199611 check[2822]: [ 8] Discovery Server 66.151.150.12 
replying with nsl=
joy.cloudmark.com
Jul 12 16:15:54.199786 check[2822]: [ 8] Discovery Server 66.151.150.12 
replying with nsl=
folly.cloudmark.com
Jul 12 16:15:54.200107 check[2822]: [ 5] no razorhome, not caching server info 
to disk
Jul 12 16:15:54.200389 check[2822]: [ 5] no razorhome, not caching server info 
to disk
Jul 12 16:15:54.200561 check[2822]: [ 8] Using next closest server 
shock.cloudmark.com:270
3, cached info srl 5084
Jul 12 16:15:54.200771 check[2822]: [ 8] mail 1 has no subject
Jul 12 16:15:54.201405 check[2822]: [ 6] preproc: mail 1.0 went from 616 bytes 
to 503
Jul 12 16:15:54.201662 check[2822]: [ 6] computing sigs for mail 1.0, len 503
Jul 12 16:15:54.204963 check[2822]: [ 6] Engine (8) didn't produce a signature 
for mail 1.
0
Jul 12 16:15:54.205306 check[2822]: [ 6] losing old server connection, 
66.151.150.12, for
new server, shock.cloudmark.com
Jul 12 16:15:54.205478 check[2822]: [ 5] disconnecting from server 66.151.150.12
Jul 12 16:15:54.205739 check[2822]: [ 4] 66.151.150.12 << 5
Jul 12 16:15:54.205889 check[2822]: [ 6] a=q
Jul 12 16:15:54.206151 check[2822]: [ 5] Connecting to shock.cloudmark.com ...
Jul 12 16:15:55.039673 check[2822]: [ 8] Connection established
Jul 12 16:15:55.040082 check[2822]: [ 4] shock.cloudmark.com >> 36 server 
greeting: sn=C&s
rl=5084&a=l&a=cg&ep4=7542-10
Jul 12 16:15:55.040581 check[2822]: [ 4] shock.cloudmark.com << 25
Jul 12 16:15:55.040754 check[2822]: [ 6] cn=razor-agents&cv=2.67
Jul 12 16:15:55.041085 check[2822]: [ 6] shock.cloudmark.com is a Catalogue 
Server srl 508
4; computed min_cf=6, Server se: C8
Jul 12 16:15:55.041433 check[2822]: [ 8] Computed supported_engines: 4 8
Jul 12 16:15:55.041755 check[2822]: [ 8] mail 1.0 e4 sig: 
maD-J2LHO2hbHzZrbOXcsZ6ndsoA
Jul 12 16:15:55.042044 check[2822]: [ 5] mail 1.0 e8 got no sig
Jul 12 16:15:55.042285 check[2822]: [ 8] preparing 1 queries
Jul 12 16:15:55.042614 check[2822]: [ 8] sending 1 batches
Jul 12 16:15:55.042892 check[2822]: [ 4] shock.cloudmark.com << 52
Jul 12 16:15:55.043047 check[2822]: [ 6] 
a=c&e=4&ep4=7542-10&s=maD-J2LHO2hbHzZrbOXcsZ6ndso
A
Jul 12 16:15:59.580661 check[2822]: [ 4] shock.cloudmark.com >> 11
Jul 12 16:15:59.580819 check[2822]: [ 6] response to sent.11
p=1&cf=65
Jul 12 16:15:59.581387 check[2822]: [ 6] mail 1.0 e=4 
sig=maD-J2LHO2hbHzZrbOXcsZ6ndsoA: Is
 spam: cf 65 >= min_cf 6
Jul 12 16:15:59.581569 check[2822]: [ 7] method 4: mail 1.0: no-contention 
part, spam=1
Jul 12 16:15:59.581680 check[2822]: [ 7] method 4: mail 1: a non-contention 
part was spam,
 mail spam
Jul 12 16:15:59.581778 check[2822]: [ 3] mail 1 is known spam.
Jul 12 16:15:59.581881 check[2822]: [ 5] disconnecting from server 
shock.cloudmark.com
Jul 12 16:15:59.582109 check[2822]: [ 4] shock.cloudmark.com << 5
Jul 12 16:15:59.582211 check[2822]: [ 6] a=q
Jul 12 16:15:59.582493 check[2822]: [ 8] razor-check finished successfully.
[EMAIL PROTECTED] Mail-SpamAssassin-3.0.2]#

Reply via email to