You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Dan Mahoney, System Admin" <da...@prime.gushi.org> on 2005/10/04 20:31:23 UTC
Re: spamc config file causes options to be ignored.
On Tue, 20 Sep 2005, Dan Mahoney, System Admin wrote:
Sigh...yet another email that I sent that went totally ignored by the
list.
I'll "bump" this only because I feel it's an important issue, and would
like to know if anyone else has tried it/gets the error.
Basically, when I use the spamc config file, neither the options in there,
OR the options in the config file are followed. Anyone else experience
this problem?
Or should I just open a bug (which I'll do three days from now if nobody
else answers).
-Dan
> Hey all...
>
> Recent upgrade to sa 3.1
>
> I've got the same thing in my config file, and my calling line from
> /etc/procmailrc..
>
> Config File (/etc/mail/spamassassin/spamc.conf):
>
> -l -d quark.gushi.org -S
>
> Procmail:
>
> :0fw
> | /usr/local/bin/spamc -l -d quark.gushi.org -S
>
> However, when the config file exists, I start seeing this error in my
> procmail.log
>
> spamc: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3):
> Connection refused
> spamc: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3):
> Connection refused
> spamc: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3):
> Connection refused
> spamc: connection attempt to spamd aborted after 3 retries
>
> So apparently the presence of the config file causes NEITHER the options in
> the config file NOR on the command line to be used.
>
> Should I file this as a bug? Or am I doing something horribly wrong.
>
>
> --
>
> "Hey, call me anything you like. I'm Dan to my friends, gushi to my
> close friends, 'hey, you' to my girlfriend, 'mrrow?' to my cat, and 'why
> the hell is the router on fire?' to my job.
>
> -Dan Mahoney
> 12/2/02
>
>
>
> --------Dan Mahoney--------
> Techie, Sysadmin, WebGeek
> Gushi on efnet/undernet IRC
> ICQ: 13735144 AIM: LarpGM
> Site: http://www.gushi.org
> ---------------------------
>
--
"GO HOME AND COOK!!!"
Donielle Cocossa, Taco Bell, 2:30 AM
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
Re: [sa-list] Re: spamc config file causes options to be ignored.
Posted by "Dan Mahoney, System Admin" <da...@prime.gushi.org>.
On Tue, 4 Oct 2005, Theo Van Dinter wrote:
> On Tue, Oct 04, 2005 at 02:31:23PM -0400, Dan Mahoney, System Admin wrote:
>> Basically, when I use the spamc config file, neither the options in there,
>> OR the options in the config file are followed. Anyone else experience
>> this problem?
>
> It's not clear that the options aren't used. What does quark.gushi.org
> resolve to on that machine? ie: the output of 'host quark.gushi.org' and:
>
> perl -e 'use Socket; @addrs=(gethostbyname("quark.gushi.org"))[4]; print inet_ntoa($addrs[0]),"\n";'
%perl -e 'use Socket; @addrs=(gethostbyname("quark.gushi.org"))[4]; print
inet_ntoa($addrs[0]),"\n";'
addrs: Undefined variable.
Faulty alias 'postcmd' removed.
65.125.237.251
%
>
>>> Config File (/etc/mail/spamassassin/spamc.conf):
>>>
>>> -l -d quark.gushi.org -S
>
> Interesting. I never knew there was a spamc.conf file.
Added feature in 3.1.
>>> spamc: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3):
>>> Connection refused
>
> My guess is that the host resolves to 127.0.0.1.
No, it doesn't, it resolves in both normal DNS and in /etc/hosts. It was
previously only in /etc/hosts but I made it fully-qualified after this
bug, just in case.
Didn't help.
Additionally, the options ARE used because the connects go to the right
machine when the argument is on the command line AND no config file
exists.
This is in defernce to the manual, which states that command line options
will override the config file.
As always, if you guys want a shell, I'm more than willing to let you do
all the truss/strace testing you like, or run any commands you need me to,
so long as the request comes from a "reasonably respected" member of the
list.
(slightly irritating is that spamc has no documented "debug" or "verbose"
switch, at least in the manpage).
-Dan
--
"A mother can be an inspiration to her little son, change his thoughts,
his mind, his life, just with her gentle hum."
-No Doubt, "Different People", from "Tragic Kingdom"
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
Re: spamc config file causes options to be ignored.
Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Oct 04, 2005 at 02:31:23PM -0400, Dan Mahoney, System Admin wrote:
> Basically, when I use the spamc config file, neither the options in there,
> OR the options in the config file are followed. Anyone else experience
> this problem?
It's not clear that the options aren't used. What does quark.gushi.org
resolve to on that machine? ie: the output of 'host quark.gushi.org' and:
perl -e 'use Socket; @addrs=(gethostbyname("quark.gushi.org"))[4]; print inet_ntoa($addrs[0]),"\n";'
> >Config File (/etc/mail/spamassassin/spamc.conf):
> >
> >-l -d quark.gushi.org -S
Interesting. I never knew there was a spamc.conf file.
> >spamc: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3):
> >Connection refused
My guess is that the host resolves to 127.0.0.1.
--
Randomly Generated Tagline:
"Matt to Lower Intestine ... Matt to Lower Intestine ... Please pick up
white courtesy phone." - Theo to Matt