[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] [vps2] Upgraded from SA 2.43 to 2.63 (fwd)
- Subject: Re: [vps-mail] [vps2] Upgraded from SA 2.43 to 2.63 (fwd)
- From: Bob Sherman <bob@xxxxxxxxxxxx>
- Date: Sun, 26 Sep 2004 00:31:47 -0500
It seems that SA is working if the spam is being tagged. Maybe you need to
send it somewhere other than to the user, for example:
:0:
* ^X-Spam-Status: Yes
/var/mail/spam
Yes, I am using procmail, which starts clamav, runs RC filters, starts SA
and sends spam to /var/mail/spam. This starts SA:
:0fw
|/usr/local/bin/spamc -U /var/run/spamd.sock -s 100000
And this sends to /spam
:0:
* ^X-Spam-Status: Yes
/var/mail/spam
Whenever I update the local.cf file, spamd needs to be restarted with:
kill the spamd pid
virtual spamd -d -c --pidfile=/var/run/spamd.pid
--socketpath=/var/run/spamd.sock
To be clear, the above reflects a VPS 2 with an upgrade of SA 2.43 to 2.63
using the vinstall.
Another VPS 2 that I installed SA from ports, starts with:
|/usr/local/bin/spamassassin
And it does not have spamd running
Can't explain the difference between the vinstall and the ports install,
but there is a real difference. And both seem to run fine.... with
different configurations.
Bob
At 02:03 PM 9/25/2004, you wrote:
Are you using procmail? If you are using spamd then I assume that are
note using procmailrc filtering to process spam? I have made a link the
new correct directory and now my spam is once again being tagged.
However, all mail is still coming through, just tagged. So my procmailrc
file is somehow being bypassed. I have checked my processes and I don't
see spamd running. I have always just called spamassassin from my
procmailrc file. It is called like this on all mail that gets to this
point in the procmailrc file:
:0fw
|/usr/local/bin/spamassassin
Then recipes after it process the spam further. So, would spamassassin be
starting up somewhere else? Would the vinstall have put it in sendmail or
something?
Thanks,
--
Jonathan Duncan
JKD Web Magic
http://www.jkdwebmagic.com
Web Site Hosting and Design
On Sat, 25 Sep 2004, Bob Sherman wrote:
Jonathan,
I recently had the same issue on a VPS 2 Spamassassin upgrade 2.43 to
2.63, using the vinstall. No matter what I tried, the local.cf would not
be recognized.
The vinstall defaults to recognizing local.cf in
/usr/local/etc/mail/spamassassin. The fix is to link it to the correct
local.cf:
% cd /usr/local/etc/mail/spamassassin
% ln -s /etc/mail/spamassassin/local.cf local.cf
Restart spamd
I did a ports upgrade of Spamassassin on another VPS2 awhile ago, and did
not encounter this problem.
Tech Support advised that this is an issue that 'needs to be addressed
in development.'
Bo
At 06:03 PM 9/21/2004, you wrote:
For those not on the VPS2 list. For those who are, sorry for the
cross-post. Jonathan
---------- Forwarded message ----------
Date: Tue, 21 Sep 2004 11:49:44 -0600 (MDT)
From: Jonathan Duncan <jonathan@xxxxxxxxxx>
Reply-To: vps2@xxxxxxxxxxxxxxxx
To: VPS2 Mailing List <vps2@xxxxxxxxxxxxxxxx>
Subject: [vps2] Upgraded from SA 2.43 to 2.63
I just upgraded (using vinstall) from Spamassassin 2.43 to 2.63. I did
so without reading, hoping that I wouldn't have to change anything.
Obviously not the case, of course. So now my
/etc/mail/spamassassin/local.cf file does not seem to be working. I
have procmailrc setup to do things with email depending on how it is
marked by spamassassin and now I am getting all mail no matter what
level it is and the summary is being reported in the body. I have made
changes to the local.cf with info I found in Mail::SpamAssassin::Conf,
but it seems the changes are not taking effect. I also found some
bayes_tok and bayes_seen files showing up in user directories. I will
eventually figure things out, but if anyone else has anything to share,
I would appreciate it.
---------------local.cf---------------
required_hits 5.0
rewrite_subject 1
subject_tag **SPAM** (_HITS_)
add_header all Level _STARS(*)_
#spam_level_stars 0
#report_header 1
report_safe 0
#use_terse_report 1
defang_mime 0
skip_rbl_checks 0
num_check_received 2
rbl_timeout 30
---------------local.cf---------------
Regards,
--
Jonathan Duncan
Administrator
801.376.7796
JKD Web Magic
http://www.jkdwebmagic.com
Web Site Hosting and Design
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index