Hi
 
       Thanks to all for my previous reply.....
 
I upgraded the spamassassin from 2.41 to 2.55 at my local server. Now when i am doing test using
 
$spamc -u <user> <sample-spam.txt > spam.out  then it is showing at log file as follows:
_______________________________________________
 Aug  6 17:12:38 datta spamd[6799]: Still running as root: user not specified with -u, not found, or set to root.  Fall back to nobody.
Aug  6 17:12:38 datta spamd[6799]: processing message <N1msdrbJXNPfV4wg9> for [EMAIL PROTECTED]:99.
Aug  6 17:12:38 datta spamd[6799]: identified spam (9.4/5.0) for [EMAIL PROTECTED]:99 in 0.6 seconds, 4656 bytes.
__________________________________________
 
But when i am sending the mail from one user to [EMAIL PROTECTED]  copying the same *sample-spam.txt* file it is not catching the spam - it is showing *clear message*. Here is the log file
__________________________________________
Aug  6 16:59:43 datta spamd[6691]: info: setuid to swapana succeeded
Aug  6 16:59:44 datta spamd[6691]: processing message <[EMAIL PROTECTED]> for swapana:501.
Aug  6 16:59:44 datta spamd[6691]: clean message (5.1/7.0) for swapana:501 in 0.3 seconds, 5366 bytes.
Aug  6 16:59:44 datta sendmail[6687]: h76KxfCL006686: to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (502/502), delay=00:00:03, xdelay=00:00:03, mailer=local, pri=35284, dsn=2.0.0, stat=Sent
__________________________________________
 
Here is my ~user/.spamassassin/user_prefs file - only two parameters i have mentioned.
_________________________________________
required_hits           7
subject-tag     {SPAM?}
_________________________________________
 
Here is the /etc/mail/spamassassin/user_prefs file >>>
_________________________________________
ok_locales              all
ok_languages            all
auto_whitelist_path     /var/spool/spamassassin/auto-whitelist
suto_whitelist_file_mode        0666
subject_tag           {SPAM?}
________________________________________
 
Where i am making mistake?  Can anybody tell me where and how i will create my own rules? Is the configuration i correct what i did? If so then why the genuine spam text is being considered as "clear mail"...   Should i need to mention anything for *header* etc...
 
Help is appreciated.....
 
Thanks in advance.
-Swapna


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to