Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

Post.Office

Re: SpamAssassin

To: post_office@xxxxxxxxxxxxxxx
Subject: Re: SpamAssassin
From: Marc Kaiwi <marc@xxxxxxxxx>
Date: Mon, 24 Nov 2003 12:17:47 -0800
I tried: sudo /usr/bin/spamd -u mta -d -r /var/run/spamd.pid and this is what I got:

[otis:~] marc% sudo /usr/bin/spamd -u mta -d -r /var/run/spamd.pid
Password:
dyld: perl Undefined symbols:
_Perl_safefree
_Perl_safemalloc
_Perl_saferealloc
_Perl_sv_2pv
_Perl_sv_catpvn
_Perl_sv_catsv
_Perl_sv_pvn_force
_perl_call_method
_perl_call_sv
_perl_get_hv
_perl_get_sv
Trace/BPT trap
[otis:~] marc%

On Monday, November 24, 2003, at 12:04 PM, Dan Tappin wrote:

This means that spamassassin is not running. The 'ps -aux' command lists all active processes. The '|' pipes the output of the ps
command into grep which essentially stands for regular expressions and looks for the word 'spam'.


Here is my output:

[freya:~] tappind% ps -aux | grep spam
mta 504 0.0 0.3 33152 656 ?? Ss Sat08AM 0:10.17 /usr/bin/spamd -u mta -d -r /var/run/spamd.pid
tappind 7267 0.0 0.1 1372 256 std R+ 12:57PM 0:00.00 grep spam


The second list and the one you got was the process listing of the command you just listed.

Try this:

cat /Library/StartupItems/PostOffice/PostOffice

Below is my PO start-up file:

[freya:~] tappind% cat /Library/StartupItems/PostOffice/PostOffice
#!/bin/sh

. /etc/rc.common

##
# Start mail server
##

POSTOFFICE=-YES-
if [ "${MAILSERVER:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Disable existing mail server and reboot to run Post.Office"
else
if [ "${POSTOFFICE:=-NO-}" = "-YES-" ]; then
if [ -f /Library/Tenon/System/Configuration/StartUp ]; then
MAILSERVER=`grep MAILSERVER /Library/Tenon/System/Configuration/StartUp | cut -b 12-`;
if [ "$MAILSERVER" = "-YES-" ]; then
ConsoleMessage "Starting Post.Office mail services"
if [ -f /usr/bin/spamd ]; then
/usr/bin/spamd -u mta -d
fi
/usr/local/post.office/post.office
fi
else
ConsoleMessage "Starting Post.Office mail services"
if [ -f /usr/bin/spamd ]; then
# /usr/bin/spamd&
/usr/bin/spamd -u mta -d -r /var/run/spamd.pid
fi
/usr/local/post.office/post.office
fi
fi
fi
[freya:~] tappind%


My PO start-up has been updated as follows:

/usr/bin/spamd -u mta -d -r /var/run/spamd.pid

This forces SA to run as the mta (mail) user not root for security reasons.

Try:

sudo /usr/bin/spamd -u mta -d -r /var/run/spamd.pid (followed by your admin password)

and see what happens?

Have you tried re-installing PO and making sure that the SA plug-in is selected during the install?

Dan

---------
Tenon Intersystems' Post.Office Mailing List
To unsubscribe: send mailto:post_office-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives at:
http://postoffice.computeroil.com/


Signed: Marc Kaiwi

---------
Tenon Intersystems' Post.Office Mailing List
To unsubscribe: send mailto:post_office-request@xxxxxxxxxxxxxxx
with the body only containing: unsubscribe
Find the searchable mailing list archives at:
http://postoffice.computeroil.com/

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists