From owner-freebsd-stable@FreeBSD.ORG Mon May 3 10:56:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37A5216A4CE for ; Mon, 3 May 2004 10:56:20 -0700 (PDT) Received: from slack.macaroon.net (217.79.104.187.adsl.griffin.net.uk [217.79.104.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id C079343D68 for ; Mon, 3 May 2004 10:56:18 -0700 (PDT) (envelope-from cam@macaroon.net) Received: from macaroon.net (82-36-98-76.cable.ubr01.king.blueyonder.co.uk [82.36.98.76]) (authenticated bits=0) by slack.macaroon.net (8.12.10/8.12.10) with ESMTP id i43Htt4A092058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 3 May 2004 18:55:56 +0100 (BST) (envelope-from cam@macaroon.net) Message-ID: <409687AE.8050904@macaroon.net> Date: Mon, 03 May 2004 18:55:58 +0100 From: Cameron Murdoch User-Agent: Mozilla Thunderbird 0.5 (X11/20040420) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd@vfemail.net References: <1083599387.40966a1b2c825@beta.vfemail.net> In-Reply-To: <1083599387.40966a1b2c825@beta.vfemail.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact postmaster@macaroon.net for more info X-MailScanner: Sophos found this email to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.9, required 5, autolearn=not spam, BAYES_00 -4.90) X-MailScanner-From: cam@macaroon.net cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD + Sendmail + ClamAV + MailScanner >> not binding to ethernet X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 17:56:20 -0000 freebsd@vfemail.net wrote: > I am trying to setup a mail box using FreeBSD 4.9, Sendmail, ClamAB and > MailScanner. This is how I did it. > sendmail_enable="YES" > to > sendmail_enable="NO" > Hi, I use these commands to make sendmail play nice with MailScanner: sendmail -L sm-mta -bd -ODeliveryMode=queueonly -OQueueDirectory=/*path to Mailscanner incoming directory* sendmail -L sm-queue -q30m I believe this setup requires the MailScanner outbound directory to be the sendmail default, ie /var/spool/mqueue. I used the rc.conf sendmail options to run sendmail this way at startup. There is a /usr/local/etc/rc.d/mta.sh.sample script which mailscanner installs and should be able to configure sendmail correctly, so perhaps play with that. I preferred setting it myself though. Cheers, Cam