A few ways to look into this...
 
1. Check the amavisd.conf file (should be something like /etc/amavisd.conf) for a line similar to this:
# Run the daemon in the specified chroot jail if nonempty:
$daemon_chroot_dir = $MYHOME;  # (default is undef, meaning: do not chroot)
 
2. Check for a /var/amavis or /var/amavisd directory tree
 
3. Startup amavisd in debug mode and check the startup info:
samx# amavisd debug
Then look for a line like this near the top of the output:
Dec  1 13:01:30 samx /usr/local/sbin/amavisd[21435]: Net::Server: Chrooting to /var/amavis
 
If your system is running like this, try copying the changed local.cf to /var/amvisd/etc/mail/spamassassin or whatever the chroot location is on your system and then restart amavisd.
 
-matt


From: Johnson, S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:56 PM
To: Yackley, Matt; users@spamassassin.apache.org
Subject: RE: Rules still not hitting right

 

Gosh… I’m not the one that set this up.  How do I know if this is the case?  It looks like the local.cf only exists in the /etc/mail/spamassassin directory.

 


From: Yackley, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:39 PM
To: users@spamassassin.apache.org
Subject: RE: Rules still not hitting right

 

Quick question, are you running amavisd in chroot mode?  If so make sure that your chroot location for /etc/mail/spamassassin also has the updated files, then restart amavis.

 

-matt

 


From: Johnson, S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:20 PM
To: Chris Santerre; users@spamassassin.apache.org
Subject: RE: Rules still not hitting right

 

Yes, I restarted the whole server…

 

The configs are in the local.cf file.

 


From: Chris Santerre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:03 PM
To: Johnson, S; users@spamassassin.apache.org
Subject: RE: Rules still not hitting right

 

Yes it does require spamd to be restarted. Having restarted it and it still isn't working must be something else. Where exactly are these rules located?

 

--Chris

-----Original Message-----
From: Johnson, S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:40 PM
To: Chris Santerre; users@spamassassin.apache.org
Subject: RE: Rules still not hitting right

Does adding a rule require restarting?  From what I was reading, all you needed to do is run spammassassin -lint.  But I'm not 100% sure on that...

 

Anyway, I did reboot yesterday afternoon just to be sure and it's still missing the messages...

 


From: Chris Santerre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 1:41 PM
To: Johnson, S; users@spamassassin.apache.org
Subject: RE: Rules still not hitting right

 

I believe you have to restart Amavis?

 

--Chris

-----Original Message-----
From: Johnson, S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:31 PM
To: users@spamassassin.apache.org
Subject: Rules still not hitting right

I'm now running Spam Assassin 3.1

 

I've got two rules next to each other in the config:

 

body REPLICA_WATCH              /replicas of rolex/i

score REPLICA_WATCH             5

 

body SAVE_UP_TO                 /save up to/i

score SAVE_UP_TO                2

 

 

When I have a message that I've been trying to stop with Rolex watches come in, I get the following response from Amavis:

 

Dec  1 06:37:36 fw amavis[29225]: (29225-10) spam_scan: hits=0.267 tests=SAVE_UP_TO

 

 

The text of the message contains the following:

 

In our online store you can buy replicas of Rolex watches. They look and feel exactly like the real thing.

 

- Save up to 40% compared to the cost of other replicas

 

 

Why is the first rule not getting hit?

 

 Thanks,

   Scott

 

 


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Confidentiality Notice

If the information in this electronic communication relates to an individual pupil, it is a confidential pupil record under Minnesota Law and may not be reviewed, distributed, or copied by any person other than the individual(s) to whom it is addressed. This electronic communication is intended solely for the use of the individual(s) to whom it is addressed. If you are not the intended recipient, any further review, dissemination, distribution, or copying of this electronic communication or any attachment thereto is strictly prohibited. If you have received an electronic communication in error, you should immediately return it to the sender and delete it from your system.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Confidentiality Notice

If the information in this electronic communication relates to an individual pupil, it is a confidential pupil record under Minnesota Law and may not be reviewed, distributed, or copied by any person other than the individual(s) to whom it is addressed. This electronic communication is intended solely for the use of the individual(s) to whom it is addressed. If you are not the intended recipient, any further review, dissemination, distribution, or copying of this electronic communication or any attachment thereto is strictly prohibited. If you have received an electronic communication in error, you should immediately return it to the sender and delete it from your system.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Confidentiality Notice

If the information in this electronic communication relates to an individual pupil, it is a confidential pupil record under Minnesota Law and may not be reviewed, distributed, or copied by any person other than the individual(s) to whom it is addressed. This electronic communication is intended solely for the use of the individual(s) to whom it is addressed. If you are not the intended recipient, any further review, dissemination, distribution, or copying of this electronic communication or any attachment thereto is strictly prohibited. If you have received an electronic communication in error, you should immediately return it to the sender and delete it from your system.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Confidentiality Notice

If the information in this electronic communication relates to an individual pupil, it is a confidential pupil record under Minnesota Law and may not be reviewed, distributed, or copied by any person other than the individual(s) to whom it is addressed. This electronic communication is intended solely for the use of the individual(s) to whom it is addressed. If you are not the intended recipient, any further review, dissemination, distribution, or copying of this electronic communication or any attachment thereto is strictly prohibited. If you have received an electronic communication in error, you should immediately return it to the sender and delete it from your system.

Reply via email to