On Sunday 10 March 2002 02:18 pm, Will Yardley wrote:
> i have something that's both a question and a request... from what i've
> seen in the archives, it's not terribly easy to install spamassassin
> without root access.

From the README (http://spamassassin.taint.org/dist/README):

These steps assume the following, so substitute as necessary:
  - Your UNIX login is "user"
  - Your home directory is /home/user
  - The location of the procmail executable is /usr/bin/procmail

1. Uncompress the SpamAssassin archive

2. Move/rename the created SpamAssassin directory where you want to
permanently place it in your user directory:
    mv Mail-SpamAssassin-2.1 ~/bin/SpamAssassin

3. Make SpamAssassin as normal ("perl Makefile.PL", "make")

4. If you already use procmail, skip to step 6.  If not, ensure procmail
is installed using "which procmail" or install it from www.procmail.org.

5. Create a .forward file in your home directory containing the below
lines:

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"

6. Edit or create a .procmailrc file in your home directory containing
the below lines.  If you already have a .procmailrc file, add the lines
to the top of your .procmailrc file:

:0fw
| /home/user/bin/SpamAssassin/spamassassin -P -c
/home/user/bin/SpamAssassin/rules

  The above line filters all incoming mail through SpamAssassin and tags
probable spam with a unique header.  If you would prefer to have spam
blocked and saved to a file called caughtspam in your home directory
instead of passed through and tagged, append this directly below the
above lines:

:0:
* ^X-Spam-Status: Yes
caughtspam

7. Now, you should be ready to send some test emails and ensure everything
works as expected.  First, send yourself a test email that doesn't contain 
anything suspicious.  You should receive it normally, but there will be a
header containing X-Spam-Status: No.  If you are only tagging your spam,
send yourself an obvious spam mail and check to be sure it is marked as
spam.  If your test emails don't get through to you, immediately rename
your .forward file until you figure out cause of the the problem, so you
don't lose incoming email.

-- 
Visit http://dmoz.org, the world's   | Give a man a match, and he'll be warm
largest human edited web directory.  | for a minute, but set him on fire, and
                                     | he'll be warm for the rest of his life.
[EMAIL PROTECTED]  ICQ: 132152059 |

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to