From owner-freebsd-questions@freebsd.org Thu Sep 10 12:41:52 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39DA6A00FE5 for ; Thu, 10 Sep 2015 12:41:52 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFE941F3D for ; Thu, 10 Sep 2015 12:41:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicfx3 with SMTP id fx3so26539686wic.1 for ; Thu, 10 Sep 2015 05:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=IMSU7hN6FaQI3+0GMUP6eUUYe49fWg5J6sQT97dFxUg=; b=lROZ7RqfiAISbkrmOZI/Rf4OyH6y9sw+3p4olDFoJ5QVEYwp7rT3ZLQoRM8yZKOkU4 OkxOila+TDQfpruNA2zVlLgQ4piH0OAnXGM1r0Qh01w3t5tZ2XDV+i2IXnZmoaRbIILs A1N71afvg7M7/blNyqXQLP3gN7oVmbc0eVa9EaOdAxy9P+Kb14KdQsPKOeHDuQsqzOfq PNUJyaul2dpPUtaONxcyQt1y/+UI+PDgrst6fIuR3Z3mAMdkofJRMa+EBQA25fYr2HRO vAxa1SJguDajawqCN4v3ocsELSXiqohKGamG1WAu2AQs3cIYbYCHGJdVb8CPLjLqLHnh KrnQ== X-Received: by 10.180.8.3 with SMTP id n3mr6018343wia.41.1441888910375; Thu, 10 Sep 2015 05:41:50 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id bi6sm15515339wjc.25.2015.09.10.05.41.48 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Sep 2015 05:41:49 -0700 (PDT) Date: Thu, 10 Sep 2015 13:41:46 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Cannot test spamassassin, what is going on here? Message-ID: <20150910134146.2a987efd@gumby.homeunix.com> In-Reply-To: <55F0212B.9090708@shopzeus.com> References: <55F0212B.9090708@shopzeus.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2015 12:41:52 -0000 On Wed, 9 Sep 2015 14:08:11 +0200 Nagy L=E1szl=F3 Zsolt wrote: > Looks like spamassassin is using different rules/settings when it is > ran from the mailscanner daemon. The configuration should be the same > ( /usr/local/etc/mail/spamassassin is a symbolic link to=20 > /usr/local/etc/MailScanner/spam.assassin.prefs.conf ) >=20 > I cannot test spamassassin with the same user, because it is postfix=20 > which is disabled: >=20 > > > > # su postfix " spamassassin -t test.eml " > > This account is currently not available. >=20 This is because the postfix user doesn't have a default shell configured, you can use su -m which will use the current shell. The minus -m option prevents the environment being changed; it might be necessary to set USER to postfix, and if that user has a home directory set HOME.=20