[SA-exim] using exim4 on debian

Marc MERLIN marc at merlins.org
Fri, 7 Jun 2002 11:00:45 -0700


On Thu, Jun 06, 2002 at 07:33:39AM -0600, David Bishop wrote:
> But spamd *is* runnning, and running spamc from the commandline works fine.  

Sorry for insisting, but can you confirm that if you run spamc from the
command line, you do get the X-Spam headers back from the mail it spits
back?
The reason I ask is that that's exactly what my code does: it launches spamc
just like you would from the command line.

> So where do I go from here?

Check which options you run spamd with, maybe it's trying to create its
config file or running under the wrong UID or something.

moremagic:~$ cat /etc/default/spamassassin 
# /etc/default/spamd.conf
# Duncan Findlay
# November 2001

# WARNING read README.spamd before using.  THERE ARE SECURITY RISKS!

# Change to one to enable spamd
ENABLED=1

# Options:

# -a            Allow user auto-whitelists
#   (Make sure /root/.spamassassin/ exists)
# -L            Local tests only (no DNS checks)
# -A hosts      Authorised hosts that can connect (IP addresses, separated by commas)
# -i ipaddress  IP to bind to
# -q            Turn on SQL lookups even when per-user configs disabled
# -F 0|1        Mbox message output options
# -p            Port number (783 by default)
# -u            Username (defaults to user running spamc)
# -x            Disable user config files
# -P            Paranoid - die on user errors
# -s            Specify syslog facility (default: mail)
# -D            Debug mode
# -c            Create users' preferences files if they don't exist

OPTIONS="-u nobody"

Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key