You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Liam-PrintingAutomation <li...@printingautomation.com> on 2005/10/19 00:28:06 UTC
Help with install and config
Hi, I have a couple of questions.
I just installed SpamAssassin on one of our servers through:
$ perl -MCPAN -e shell
> install (the mod for Razor)
which automatically installed SpamAssassin.
After which I ran the test as suggested on the FAQ:
$ spamassassin -tD < ./sample-spam.txt
and I get pages of debugging and all seems to come out OK.
But I send that message in an actual e-mail, and I look at the header,
and there's no SpamAssassin additions to the header.
What might be going on here? I can't find anything on the site/FAQ that
goes beyond the installation than that test it mentions.
Another question I have is on configuration.
I ran
$ man Mail::SpamAssassin::Conf
and that's all real interesting, but I don't know Perl at all. How do I
actually make the configuration changes, like the score level and how it
tags the e-mail? Am I missing it in the MAN?
I tried
$ perl Mail::SpamAssassin::Conf
but that does nothing. (Those of you who know Perl are probably saying DUH!)
I guess one more question:
I installed it on one of our smaller servers, less critical. Fedora Core
3. If we get this working OK, we're going to install it on our actual
production server which is a ES2 with Sendmail.
Is there any chance that installing SpamAssassin could screw up Sendmail
at all, and in any way prevent mail from operating on the server? Or is
worst-case scenario just mail won't get tagged with SpamAssassin scores?
Thanks for any feedback!
Re: Help with install and config
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Liam-PrintingAutomation wrote:
> But I'm still wondering why the e-mails coming in still aren't getting
> checked through SpamAssassin, and curious as to how badly a bad install
> could hurt the mail reception process.
> Thanks!
You're probably not piping the mails to SpamAssassin for them to be checked.
Daryl
Re: Help with install and config
Posted by "Liam-PrintingAutomation,Inc." <li...@printingautomation.com>.
Theo Van Dinter wrote:
>On Tue, Oct 18, 2005 at 07:14:46PM -0500, Liam-PrintingAutomation,Inc. wrote:
>
>
>>>How are you calling spamassassin (or spamc)? What mail server
>>>software are you using ?
>>>
>>>
>>we're using the FC3 "out of the box," so I guess it's using Sendmail.
>>
>>
>
>So the question still remains -- how are you having sendmail call
>spamassassin?
>
>
>
Well, that IS the question, then isn't it. Because I don't know.
Evidently I'm not. I need to know how to. I don't seem to be finding
anything on the site, so I must be missing it.
I installed spamassassin, ran the test, found the config file, and
that's it. If I need to do something else, I can't find it.
A hint, a clue, a URL, is all I'm asking.
Thanks!
Liam
Re: Help with install and config
Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Oct 18, 2005 at 07:14:46PM -0500, Liam-PrintingAutomation,Inc. wrote:
> >How are you calling spamassassin (or spamc)? What mail server
> >software are you using ?
>
> we're using the FC3 "out of the box," so I guess it's using Sendmail.
So the question still remains -- how are you having sendmail call
spamassassin?
--
Randomly Generated Tagline:
"There ought to be limits to freedom." - George W. Bush (Gov. of Texas)
Re: Help with install and config
Posted by Liam-PrintingAutomation <li...@printingautomation.com>.
Bob McClure Jr wrote:
>On Wed, Oct 19, 2005 at 10:52:40AM -0500, Liam-PrintingAutomation wrote:
>
>
>>Thanks all who replied. Karl P. helped me out with pointing out that
>>procmailrc needed to be in /etc/ and more importantly, because I'm not
>>finding this piece of info on the Web site anywhere, it needs to be
>>CHMOD'ed to 755.
>>I wouldn't have guessed that.
>>
>>
>
>For good reason. It should be 644. No reason to have it executable.
>
>
That's odd. It wasn't working until I 755'ed it. Still works now that I
644'ed it.
Maybe it was 400 before or something.
OK, in any case, permissions are also key, and I hadn't seen that in any
FAQ or link.
Thanks for the clarification!
Liam
Re: Help with install and config
Posted by Bob McClure Jr <ro...@earthlink.net>.
On Wed, Oct 19, 2005 at 10:52:40AM -0500, Liam-PrintingAutomation wrote:
> Menno van Bennekom wrote:
>
> >>>Well you need to call spamassassin (or spamc, that's a better option)
> >>>somehow. You'll need amavis, mail-scanner, procmail or some other
> >>>method of calling SA.
> >>>
> >>>Can't be much more help than that I'm afraid as I don't run sendmail.
> >>>
> >>>
> >>Ah, OK. I'll look into those things and see what I can find.
> >>Thanks for the tips!
> >>Liam
> >>
> >>
> >>
> Thanks all who replied. Karl P. helped me out with pointing out that
> procmailrc needed to be in /etc/ and more importantly, because I'm not
> finding this piece of info on the Web site anywhere, it needs to be
> CHMOD'ed to 755.
> I wouldn't have guessed that.
For good reason. It should be 644. No reason to have it executable.
> Thanks again
> Liam
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure@earthlink.net http://www.bobcatos.com
Peace at any price is inflationary.
Re: Help with install and config
Posted by Liam-PrintingAutomation <li...@printingautomation.com>.
Menno van Bennekom wrote:
>>>Well you need to call spamassassin (or spamc, that's a better option)
>>>somehow. You'll need amavis, mail-scanner, procmail or some other
>>>method of calling SA.
>>>
>>>Can't be much more help than that I'm afraid as I don't run sendmail.
>>>
>>>
>>Ah, OK. I'll look into those things and see what I can find.
>>Thanks for the tips!
>>Liam
>>
>>
>>
Thanks all who replied. Karl P. helped me out with pointing out that
procmailrc needed to be in /etc/ and more importantly, because I'm not
finding this piece of info on the Web site anywhere, it needs to be
CHMOD'ed to 755.
I wouldn't have guessed that.
Thanks again
Liam
Re: Help with install and config
Posted by Menno van Bennekom <mv...@xs4all.nl>.
>> Well you need to call spamassassin (or spamc, that's a better option)
>> somehow. You'll need amavis, mail-scanner, procmail or some other
>> method of calling SA.
>>
>> Can't be much more help than that I'm afraid as I don't run sendmail.
>
> Ah, OK. I'll look into those things and see what I can find.
> Thanks for the tips!
> Liam
>
Don't have sendmail either, but I know some use mimedefang for it
http://www.mimedefang.org/
Or for local mail you could use procmail
http://sharkysoft.com/tutorials/linuxtips/spam/
Regards
Menno
Re: Help with install and config
Posted by "Sandy S." <sa...@boreal.org>.
----- Original Message -----
From: "Liam-PrintingAutomation,Inc." <li...@printingautomation.com>
To: <us...@spamassassin.apache.org>
Sent: Tuesday, October 18, 2005 8:00 PM
Subject: Re: Help with install and config
> Rick Macdougall wrote:
>
> >
> > Hi,
> >
> > Well you need to call spamassassin (or spamc, that's a better option)
> > somehow. You'll need amavis, mail-scanner, procmail or some other
> > method of calling SA.
> >
> > Can't be much more help than that I'm afraid as I don't run sendmail.
>
> Ah, OK. I'll look into those things and see what I can find.
> Thanks for the tips!
> Liam
>
Liam -
Take a look at http://wiki.apache.org/spamassassin/IntegratedInMta
Sandy
Re: Help with install and config
Posted by "Liam-PrintingAutomation,Inc." <li...@printingautomation.com>.
Rick Macdougall wrote:
>
> Hi,
>
> Well you need to call spamassassin (or spamc, that's a better option)
> somehow. You'll need amavis, mail-scanner, procmail or some other
> method of calling SA.
>
> Can't be much more help than that I'm afraid as I don't run sendmail.
Ah, OK. I'll look into those things and see what I can find.
Thanks for the tips!
Liam
Re: Help with install and config
Posted by Rick Macdougall <ri...@nougen.com>.
Liam-PrintingAutomation,Inc. wrote:
> Rick Macdougall wrote:
>>
>>
>> Hi,
>>
>> How are you calling spamassassin (or spamc)? What mail server
>> software are you using ?
>>
>> More details required please.
>
> spamassassin, not spamc.
> Sorry, I thought I'd mentioned it earlier.
> We're using Sendmail.
> Actually, we are using Sendmail on the ES2 server SpamAssassin will be
> going on, but I'm only 90% sure we're using Sendmail on the FedoraCore3
> server I'm testing it on. I'm not at work now, so I can't check, but
> we're using the FC3 "out of the box," so I guess it's using Sendmail.
> Sorry.
> Liam
Hi,
Well you need to call spamassassin (or spamc, that's a better option)
somehow. You'll need amavis, mail-scanner, procmail or some other
method of calling SA.
Can't be much more help than that I'm afraid as I don't run sendmail.
Regards,
Rick
Re: Help with install and config
Posted by "Liam-PrintingAutomation,Inc." <li...@printingautomation.com>.
Rick Macdougall wrote:
> Liam-PrintingAutomation wrote:
>
>> Liam-PrintingAutomation wrote:
>>
>>> Another question I have is on configuration.
>>> I ran
>>> $ man Mail::SpamAssassin::Conf
>>> and that's all real interesting, but I don't know Perl at all. How
>>> do I actually make the configuration changes, like the score level
>>> and how it tags the e-mail? Am I missing it in the MAN?
>>> I tried
>>> $ perl Mail::SpamAssassin::Conf
>>> but that does nothing. (Those of you who know Perl are probably
>>> saying DUH!)
>>>
>> Nevermind that question, I found: /etc/mail/spamassassin/local.cf
>> which appears to have all the settings I can think of needing to change.
>>
>> But I'm still wondering why the e-mails coming in still aren't
>> getting checked through SpamAssassin, and curious as to how badly a
>> bad install could hurt the mail reception process.
>> Thanks!
>
>
> Hi,
>
> How are you calling spamassassin (or spamc)? What mail server
> software are you using ?
>
> More details required please.
spamassassin, not spamc.
Sorry, I thought I'd mentioned it earlier.
We're using Sendmail.
Actually, we are using Sendmail on the ES2 server SpamAssassin will be
going on, but I'm only 90% sure we're using Sendmail on the FedoraCore3
server I'm testing it on. I'm not at work now, so I can't check, but
we're using the FC3 "out of the box," so I guess it's using Sendmail.
Sorry.
Liam
Re: Help with install and config
Posted by Liam-PrintingAutomation <li...@printingautomation.com>.
Liam-PrintingAutomation wrote:
> Another question I have is on configuration.
> I ran
> $ man Mail::SpamAssassin::Conf
> and that's all real interesting, but I don't know Perl at all. How do
> I actually make the configuration changes, like the score level and
> how it tags the e-mail? Am I missing it in the MAN?
> I tried
> $ perl Mail::SpamAssassin::Conf
> but that does nothing. (Those of you who know Perl are probably saying
> DUH!)
>
Nevermind that question, I found: /etc/mail/spamassassin/local.cf which
appears to have all the settings I can think of needing to change.
But I'm still wondering why the e-mails coming in still aren't getting
checked through SpamAssassin, and curious as to how badly a bad install
could hurt the mail reception process.
Thanks!