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
---------------------------

Reply via email to