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: "Dan Tappin" <dan.tappin@xxxxxxxxxxxxxxx>
Date: Mon, 24 Nov 2003 13:04:08 -0700
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/

<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