- remove 'noauto' and install _spamdaemon user by default.
- bump PKGNAME.
This commit is contained in:
parent
97df89bdb5
commit
906afbb679
@ -1,4 +1,4 @@
|
||||
$OpenBSD: user.list,v 1.53 2006/07/31 15:41:02 jakob Exp $
|
||||
$OpenBSD: user.list,v 1.54 2006/10/21 19:26:14 aanriot Exp $
|
||||
|
||||
This file lists all users and groups that are created by ports or that
|
||||
users are encouraged to create after installing a port (these are marked
|
||||
@ -14,7 +14,7 @@ id user group port options
|
||||
502 _mysql _mysql databases/mysql,-server
|
||||
503 _postgresql _postgresql databases/postgresql,-server
|
||||
504 _mailman _mailman mail/mailman
|
||||
506 _spamdaemon _spamdaemon mail/p5-Mail-SpamAssassin noauto
|
||||
506 _spamdaemon _spamdaemon mail/p5-Mail-SpamAssassin
|
||||
507 _postfix _postfix mail/postfix/{snapshot,stable}
|
||||
508 _postdrop mail/postfix/{snapshot,stable}
|
||||
509 _bitlbee _bitlbee net/bitlbee
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.41 2006/08/10 18:24:45 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.42 2006/10/21 19:26:14 aanriot Exp $
|
||||
|
||||
COMMENT= "mailfilter to identify and mark spam"
|
||||
|
||||
DISTNAME= Mail-SpamAssassin-3.1.4
|
||||
PKGNAME= p5-${DISTNAME}p0
|
||||
PKGNAME= p5-${DISTNAME}p1
|
||||
CATEGORIES= mail perl5
|
||||
|
||||
MAINTAINER= Andreas Voegele <andreas@altroot.de>
|
||||
|
@ -5,17 +5,13 @@
|
||||
You can use spamassassin in many ways. But the lightest for the machine is by
|
||||
making use of the spamc/spamd combination.
|
||||
|
||||
<p>First let's add a user and group for the spamd.
|
||||
|
||||
<pre><b># useradd -s /usr/bin/false -b /nonexistent -u 506 -g =uid _spamdaemon</b></pre>
|
||||
|
||||
<p>Add this line to <b><code>/etc/rc.local</b></code>:
|
||||
<pre><b># @PREFIX@/bin/spamd -u _spamdaemon -d</b></pre>
|
||||
<br> Use that same line to start spamd now.
|
||||
|
||||
<p>The final step: put this at the top of your <b><code>.procmailrc</b></code>.
|
||||
If you do not want to use procmail please check the
|
||||
<A HREF="http://spamassassin.org/doc.html">online docs</A>
|
||||
<A HREF="http://spamassassin.org/doc.html">online docs</A>
|
||||
|
||||
<ul><pre>
|
||||
:0fw
|
||||
|
@ -1,4 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.20 2006/08/10 18:24:45 steven Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.21 2006/10/21 19:26:14 aanriot Exp $
|
||||
@newgroup _spamdaemon:506
|
||||
@newuser _spamdaemon:506:506:daemon:SpamAssassin:/nonexistent:/sbin/nologin
|
||||
bin/sa-learn
|
||||
bin/sa-update
|
||||
bin/spamassassin
|
||||
|
Loading…
Reference in New Issue
Block a user