Re: spamd config error

2023-01-02 Thread joe a
On 1/2/2023 4:27 PM, Bill Cole wrote: On 2023-01-02 at 16:18:53 UTC-0500 (Mon, 2 Jan 2023 16:18:53 -0500) joe a is rumored to have said: On 1/2/2023 4:01 PM, joe a wrote: On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skippi

Re: spamd config error

2023-01-02 Thread Benny Pedersen
Bill Cole skrev den 2023-01-02 22:22: Whenever you change a SpamAssassin config file, you should run 'spamassassin --lint' to make sure it is parsing correctly. loadplugin does --lint even in cf files imho, but it should not i have not tested yet in sa 4.x.x with this

Re: spamd config error

2023-01-02 Thread Benny Pedersen
joe a skrev den 2023-01-02 22:18: Wow. It appears you actually have to state "loadplugin". A great way to start a new year. and it should in no way be in a cf file, loadplugin belongs to pre files simple to fix with sed

Re: spamd config error

2023-01-02 Thread Bill Cole
On 2023-01-02 at 16:18:53 UTC-0500 (Mon, 2 Jan 2023 16:18:53 -0500) joe a is rumored to have said: On 1/2/2023 4:01 PM, joe a wrote: On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.c

Re: spamd config error

2023-01-02 Thread Bill Cole
On 2023-01-02 at 16:01:34 UTC-0500 (Mon, 2 Jan 2023 16:01:34 -0500) joe a is rumored to have said: On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::UR

Re: spamd config error

2023-01-02 Thread joe a
On 1/2/2023 4:01 PM, joe a wrote: On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::URIDNSBL It seems to have started a few weeks ago and does not appea

Re: spamd config error

2023-01-02 Thread joe a
On 1/2/2023 2:49 PM, joe a wrote: Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::URIDNSBL It seems to have started a few weeks ago and does not appear to be related to the date of any

spamd config error

2023-01-02 Thread joe a
Noticed this line in /var/log/mail: spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::URIDNSBL It seems to have started a few weeks ago and does not appear to be related to the date of any deliberate changes on my part. S

RE: testing spam gives warn config error

2008-09-19 Thread Bowie Bailey
mouss wrote: > Kate Kleinschafer wrote: > > I am almost 100% certain that I need to be able to run this command > > as postfix. > > > > then find out how to override root environment. try: > sudo postfix HOME=/var/spool/postfix spamassassin ... or, more simply, try this: sudo -u postfix -H spa

Re: testing spam gives warn config error

2008-09-18 Thread mouss
Kate Kleinschafer wrote: I am almost 100% certain that I need to be able to run this command as postfix. then find out how to override root environment. try: sudo postfix HOME=/var/spool/postfix spamassassin ...

Re: testing spam gives warn config error

2008-09-18 Thread Kate Kleinschafer
I am almost 100% certain that I need to be able to run this command as postfix. Kate mouss wrote: Kate Kleinschafer wrote: I don't think I want to run it as root do I? run the test command as root, not mailscanner. you have the error while running the test command. you don't have an error

Re: testing spam gives warn config error

2008-09-18 Thread mouss
Kate Kleinschafer wrote: I don't think I want to run it as root do I? run the test command as root, not mailscanner. you have the error while running the test command. you don't have an error while running mailscanner. (MailScanner is set to use user postfix) I Don't use MS so I have no

Re: testing spam gives warn config error

2008-09-18 Thread Kate Kleinschafer
I don't think I want to run it as root do I? (MailScanner is set to use user postfix) Which config file sets it to use /root/ directory? Thanks Kate mouss wrote: Kate Kleinschafer wrote: Hi all, I have a new install of MailScanner / Postfix / Spamassassin when I run sudo -u postfix spamassa

Re: testing spam gives warn config error

2008-09-18 Thread mouss
Kate Kleinschafer wrote: Hi all, I have a new install of MailScanner / Postfix / Spamassassin when I run sudo -u postfix spamassassin -p /etc/MailScanner/spam.assassin.prefs.conf -t < message.MAI I get the following error: warn config path /root/ .spamassassin is inaccessible permission denied

testing spam gives warn config error

2008-09-18 Thread Kate Kleinschafer
Hi all, I have a new install of MailScanner / Postfix / Spamassassin when I run sudo -u postfix spamassassin -p /etc/MailScanner/spam.assassin.prefs.conf -t < message.MAI I get the following error: warn config path /root/ .spamassassin is inaccessible permission denied How can I resolve this e

Re: Config Error

2005-03-30 Thread Jim Maul
Matt Kettler wrote: Norman Zhang wrote: Hi, I'm seeing the following error in amavisd debug-sa. May I ask how can I correct this? config: SpamAssassin failed to parse line, skipping: auto_learn 1 The correct option is bayes_auto_learn, not auto_learn. The old "auto_learn" was correct in the 2.50

Re: Config Error

2005-03-30 Thread Matt Kettler
Norman Zhang wrote: > Hi, > > I'm seeing the following error in amavisd debug-sa. May I ask how can > I correct this? > > config: SpamAssassin failed to parse line, skipping: auto_learn 1 The correct option is bayes_auto_learn, not auto_learn. The old "auto_learn" was correct in the 2.50 versio

Re: Config Error

2005-03-30 Thread JamesDR
Norman Zhang wrote: Hi, I'm seeing the following error in amavisd debug-sa. May I ask how can I correct this? config: SpamAssassin failed to parse line, skipping: auto_learn 1 Regards, Norman Zhang required_hits 5 rewrite_header Subject [SPAM] report_safe 0 skip_rbl_checks 0 dns_available yes us

Config Error

2005-03-30 Thread Norman Zhang
Hi, I'm seeing the following error in amavisd debug-sa. May I ask how can I correct this? config: SpamAssassin failed to parse line, skipping: auto_learn 1 Regards, Norman Zhang required_hits 5 rewrite_header Subject [SPAM] report_safe 0 skip_rbl_checks 0 dns_available yes use_bayes 1 auto_learn

Config error when using SA lint

2004-11-06 Thread Robert Bartlett
When I run spamassassin --lint, I get this error: SA 3 config: SpamAssassin failed to parse line, skipping It happens on certain items in local.cf like rewrite_header 1 and terse_report. When I take them out if obviously works, other commands work just fine as well, just these certain lines just