From 5ffa6105314aa37d30bb1799d40ec7c11f7c89ee Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Sat, 7 Aug 2004 12:46:15 +0000 Subject: [PATCH] "Do NOT add --user $USER to the call of dspam binary" is a wrong instruction in pkg-message file since some things have been changed in the developement version Submitted by: Sebastian Yepes F. [ESN]" Reviewed by: Ion-Mihai Tetcu --- mail/dspam-devel/Makefile | 1 + mail/dspam-devel/pkg-message | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile index 6a3bac9a5e06..fcd0f719ba37 100644 --- a/mail/dspam-devel/Makefile +++ b/mail/dspam-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= dspam-devel PORTVERSION= 3.1.0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.nuclearelephant.com/projects/dspam/sources/ \ http://people.tecnik93.com/~itetcu/FreeBSD/ports/dspam-devel/sources/ diff --git a/mail/dspam-devel/pkg-message b/mail/dspam-devel/pkg-message index 21f9ffebfce9..54ba1c8b8e49 100644 --- a/mail/dspam-devel/pkg-message +++ b/mail/dspam-devel/pkg-message @@ -8,9 +8,8 @@ %%POSTFIX_MBC%% %%POSTFIX_MBC%% Quick Postfix setup guide: %%POSTFIX_MBC%% Add root, postfix and cgiuser to %%PREFIX%%/etc/dspam/trusted.users -%%POSTFIX_MBC%% (Do NOT add --user $USER to the call of dspam binary) %%POSTFIX_MBC%% In main.cf set -%%POSTFIX_MBC%% mailbox_command = %%PREFIX%%/bin/dspam --mode=teft --deliver=innocent,spam --feature=chained,noise -d %u +%%POSTFIX_MBC%% mailbox_command = %%PREFIX%%/bin/dspam --user $USER --mode=teft --deliver=innocent,spam --feature=chained,noise -d %u %%POSTFIX_MBC%% And don't forget to set %%POSTFIX_MBC%% %%PREFIX%%/etc/dspam/untrusted.mailer_args %%POSTFIX_MBC%% (for mail.local it could be /usr/libexec/mail.local -s %u)