I have a small private network which uses Postfix as the central MTA and filters incoming mail with SA 3.2.4.
I do all my mail reading from a laptop, so after following the recent discussion on using "spamc -L " as a convenient way to teach the Bayes algorithm, I configured spamd to listen to both localhost and the network by adding "--allow-tell -A 127.0.0.1,192.168" to the spamd options in /etc/sysconfig/spamassassin. This is getting correctly picked up. I checked with "ps -ef| grep spamd". Messages input with "spamc -RL spam <message" are being processed correctly, but attempts to use the external interface via spamc -d hostname -RL spam <message are just pausing for a few seconds and returning "0/0". This is the same as I see if I use the name of another host that isn't running spamd. Here's the relevant part of /var/log/maillog: # # Restarting spamd # spamd: server started on port 783/tcp (running version 3.2.4) spamd: server pid: 4032 spamd: server successfully spawned child process, pid 4034 spamd: server successfully spawned child process, pid 4035 spamd[4032]: prefork: child states: II # # Trying to send a message to be checked on another machine, # not running spamd or SA # spamc[4036]: connect to spamd on 192.168.7.3 failed, retrying (#1 of 3): spamc[4036]: connect to spamd on 192.168.7.3 failed, retrying (#2 of 3): spamc[4036]: connect to spamd on 192.168.7.3 failed, retrying (#3 of 3): spamc[4036]: connection attempt to spamd aborted after 3 retries # # Now trying the same message on the host running spamd # spamc[4038]: connect to spamd on 192.168.7.2 failed, retrying (#1 of 3): spamc[4038]: connect to spamd on 192.168.7.2 failed, retrying (#2 of 3): spamc[4038]: connect to spamd on 192.168.7.2 failed, retrying (#3 of 3): spamc[4038]: connection attempt to spamd aborted after 3 retries # # Now retrying the same message without the '-d host' option # spamd[4034]: spamd: connection from localhost.localdomain [127.0.0.1] at spamd[4034]: spamd: setuid to root succeeded spamd[4034]: spamd: still running as root: user not specified with -u, spamd[4034]: spamd: checking message <[EMAIL PROTECTED] spamd[4034]: spamd: clean message (4.4/6.0) for root:99 in 0.5 seconds, spamd[4034]: spamd: result: . 4 - MG_LINK1,PLING_QUERY,RCVD_IN_PBL,RDNS The lines got truncated by the terminal window width and I edited the timestamp and hostname off to make the remaining relevant bits more readable. I also looked at spamd with lsof. spamd appears to be only listening on l27.0.0.1 and ignoring the network. The full command line that starts the daemon is: /usr/bin/spamd -d -c -m5 -A 127.0.0.1,192.168 --allow-tell -H -r /var/run/spamd.pid I picked that up off the "ps -ef" display so it MUST be correct. I'm running a fully patched, as of yesterday morning, copy of Fedora 8. SA was installed from the RedHat rpm as part of a recent upgrade from Fedora 7. I've obviously missed something, so I'd appreciate help in spotting the obvious mistake in configuring spamd. Cheers, Martin