ping

2015-01-17 Thread Joe Acquisto-j4
Just checking.



Re: configure question

2015-01-17 Thread Daniel Staal
--As of January 17, 2015 4:20:36 PM -0700, Michael Williamson is alleged to 
have said:



to both /etc/mail/spamassassin/local.cf and
/home/username/.spamassassin/user_prefs,
I check the file permissions to be readable by all. I restart it

 # service spamassassin restart


--As for the rest, it is mine.

That's calling some script from /etc/rc.d/init.d, if I remember Centos 
correctly.  Would you be able to look at/post that script?  I suspect that 
it's probably setting the location of the config files via options, so if 
we can figure out what it's doing than we can figure out what needs to be 
changed.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---


configure question

2015-01-17 Thread Michael Williamson
Hi, I have a question.

Spamassassin seems not to be getting the configuration changes that I make.
I add (or change) lines like this

 add_header all Flag _YESNOCAPS_
 required_score 4.0

to both /etc/mail/spamassassin/local.cf and
/home/username/.spamassassin/user_prefs,
I check the file permissions to be readable by all. I restart it

 # service spamassassin restart

It indicates OK, and spamd processes are indicated running. When spam
email arrives, only
sometimes is it tagged (tagged_above=2), and also unchanged is the
value (required=6.2) despite changing required_score in the
configuration files. If then I run

 # spamassassin -t  spam_filename

the output shows much higher spam score than the value inserted in
email (X-Spam-Score).

Running

 # spamassassin -V

returns the message

SpamAssassin version 3.3.1
  running on Perl version 5.10.1

I am running on CentOS 6.6

I am pretty naive about email. At least smtpd and dovecot are running
on this server.

Thanks for any help,
-Mike


Re: ping

2015-01-17 Thread cool hand luke


On 01/17/2015 03:59 PM, Joe Acquisto-j4 wrote:

Just checking.



From http://www.list.org/mailman-member/node25.html:

7.6 I don't seem to be getting mail from the lists. What should I do?

There are a few common reasons for this:

No one has sent any mail to the list(s) you're on for a little while.

To check if this is the case, try visiting the archives of the list 
(assuming that the list has archives).


cf. https://mail-archives.apache.org/mod_mbox/spamassassin-users/

/chl



Re: configure question

2015-01-17 Thread Michael Williamson
OK. Here it is:

#!/bin/sh
#
# spamassassin This script starts and stops the spamd daemon
#
# chkconfig: - 78 30
# processname: spamd
# description: spamd is a daemon process which uses SpamAssassin to check \
#  email messages for SPAM.  It is normally called by spamc \
#  from a MDA.

# Source function library.
. /etc/rc.d/init.d/functions

prog=spamd

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = no ]  exit 0

# Set default spamd configuration.
SPAMDOPTIONS=-d -c -m5 -H
SPAMD_PID=/var/run/spamd.pid

# Source spamd configuration.
if [ -f /etc/sysconfig/spamassassin ] ; then
. /etc/sysconfig/spamassassin
fi

[ -f /usr/bin/spamd -o -f /usr/local/bin/spamd ] || exit 0
PATH=$PATH:/usr/bin:/usr/local/bin

# By default it's all good
RETVAL=0

# See how we were called.
case $1 in
  start)
# tell portreserve to release the port
[ -x /sbin/portrelease ]  /sbin/portrelease spamd /dev/null || :
# Start daemon.
echo -n $Starting $prog: 
daemon $NICELEVEL spamd $SPAMDOPTIONS -r $SPAMD_PID
RETVAL=$?
echo
if [ $RETVAL = 0 ]; then
touch /var/lock/subsys/spamd
fi
;;
  stop)
# Stop daemons.
echo -n $Stopping $prog: 
killproc spamd
RETVAL=$?
echo
if [ $RETVAL = 0 ]; then
rm -f /var/lock/subsys/spamd
rm -f $SPAMD_PID
fi
;;
  restart)
$0 stop
sleep 3
$0 start
;;
  condrestart)
   [ -e /var/lock/subsys/spamd ]  $0 restart
   ;;
  status)
status spamd
RETVAL=$?
;;
  *)
echo Usage: $0 {start|stop|restart|status|condrestart}
RETVAL=1
;;
esac

exit $RETVAL


On 1/17/15, Daniel Staal dst...@usa.net wrote:
 --As of January 17, 2015 4:20:36 PM -0700, Michael Williamson is alleged to

 have said:

 to both /etc/mail/spamassassin/local.cf and
 /home/username/.spamassassin/user_prefs,
 I check the file permissions to be readable by all. I restart it

  # service spamassassin restart

 --As for the rest, it is mine.

 That's calling some script from /etc/rc.d/init.d, if I remember Centos
 correctly.  Would you be able to look at/post that script?  I suspect that
 it's probably setting the location of the config files via options, so if
 we can figure out what it's doing than we can figure out what needs to be
 changed.

 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---