Hi, I have a SusE 9.0 mail server machine, and was tring to put spamassassin to run. After some time wondering why some messages were being tagged as spam in the header (even if I haven't configured spamassassin), I discovered that amavis was calling it. Right after installing spamassassin, amavis started do call it automatically, whithout asking or telling me (to me, it was typically Windows; bad behaviour). What I saw here is that amavis completely ignores my /etc/mail/spamassassin/local.cf ... Is there a way to make functional the local.cf file? Or better forgot spamassassin from within amavis? (Checking the list archives, I concluded that very few people use SA this way; usually it is used apart from amavis) BTW, I preffer to have a site-wide spamassassin configuration, because some users don't even have account, and most of then doesn't have enough knowledge to use ssh and open a shell... Is it still possible to use sa-learn, etc ? Thanks in advance Marcos Lazarini
On Sunday 29 August 2004 7:46 pm, Marcos Vinicius Lazarini wrote:
What I saw here is that amavis completely ignores my /etc/mail/spamassassin/local.cf ...
Configure what you would have configured in local.cf in /etc/amavisd.conf instead, read the comments there. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.104-default x86_64
On Sun, 29 Aug 2004, Scott Leighton wrote:
On Sunday 29 August 2004 7:46 pm, Marcos Vinicius Lazarini wrote:
What I saw here is that amavis completely ignores my /etc/mail/spamassassin/local.cf ...
Configure what you would have configured in local.cf in /etc/amavisd.conf instead, read the comments there.
man Mail::SpamAssassin::Conf says spam-headers status are on by default; but I got spam-headers only in spam. How to add this lines to amavisd.conf, if there is no such variable?
From the man page: Syntax: add_header { spam | ham | all } header_name string .... add_header spam Flag _YESNOCAPS_ add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_ add_header all Level _STARS(*)_ add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_
I'm not a perl programmer, but should I add to my amavisd.conf something like this? $sa_add_header= 'spam Flag _YESNOCAPS'; Response to this: 'Error in config file /etc/amavisd.conf: Global symbol "$sa_add_header" requires explicit package name at /etc/amavisd.conf line 1062.' Any Ideas? -- Marcos Lazarini
On Sunday 29 August 2004 9:12 pm, Marcos Vinicius Lazarini wrote:
On Sun, 29 Aug 2004, Scott Leighton wrote:
On Sunday 29 August 2004 7:46 pm, Marcos Vinicius Lazarini wrote:
What I saw here is that amavis completely ignores my /etc/mail/spamassassin/local.cf ...
Configure what you would have configured in local.cf in /etc/amavisd.conf instead, read the comments there.
man Mail::SpamAssassin::Conf says spam-headers status are on by default; but I got spam-headers only in spam. How to add this lines to amavisd.conf, if there is no such variable?
Ignore that, you are not using Mail::SpamAssassin::Conf, you are using amavis. Read the instructions in /etc/amavisd.conf and make your configuration changes there using the instructions there not the instructions in spamassassin. Amavis controls Mail::SpamAssassin when it calls it, you need to work thru amavis. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.104-default x86_64
How about spamd? Should I enable this daemon? On Mon, 2004-08-30 at 12:36, Scott Leighton wrote:
On Sunday 29 August 2004 9:12 pm, Marcos Vinicius Lazarini wrote:
On Sun, 29 Aug 2004, Scott Leighton wrote:
On Sunday 29 August 2004 7:46 pm, Marcos Vinicius Lazarini wrote:
What I saw here is that amavis completely ignores my /etc/mail/spamassassin/local.cf ...
Configure what you would have configured in local.cf in /etc/amavisd.conf instead, read the comments there.
man Mail::SpamAssassin::Conf says spam-headers status are on by default; but I got spam-headers only in spam. How to add this lines to amavisd.conf, if there is no such variable?
Ignore that, you are not using Mail::SpamAssassin::Conf, you are using amavis. Read the instructions in /etc/amavisd.conf and make your configuration changes there using the instructions there not the instructions in spamassassin.
Amavis controls Mail::SpamAssassin when it calls it, you need to work thru amavis.
Scott
-- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.104-default x86_64
participants (3)
-
Jason Lim
-
Marcos Vinicius Lazarini
-
Scott Leighton