From owner-freebsd-questions@FreeBSD.ORG Sun May 28 20:06:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5C9016C937 for ; Sun, 28 May 2006 20:06:48 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A27543D69 for ; Sun, 28 May 2006 20:06:39 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from localhost (terrapin.inter-sonic.com [172.16.1.12]) by neonpark.inter-sonic.com (Postfix) with ESMTP id A2DEA818E5B; Sun, 28 May 2006 22:06:38 +0200 (CEST) Message-ID: <447A02CA.2020803@intersonic.se> Date: Sun, 28 May 2006 22:06:34 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 1.5.0.2 (X11/20060430) MIME-Version: 1.0 To: Per olof Ljungmark References: <20060528185704.43387.qmail@web25010.mail.ukl.yahoo.com> <447A0048.4040908@intersonic.se> In-Reply-To: <447A0048.4040908@intersonic.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Robert Davison , freebsd-questions@freebsd.org Subject: Re: Sendmail / Mailscanner issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 20:06:57 -0000 Per olof Ljungmark wrote: > Robert Davison wrote: >> I've installed sendmail on a 6.1 system. It will send mail internally >> and externally with no problem. I've now put MailScanner into the mix. >> I've done what I believe to be the necessary configuration, but am >> getting the following error in the maillog file.... >> May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus >> Scanner version 4.50.15 starting... >> May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the >> phishing whitelist >> May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache >> May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache >> database >> May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin >> auto-whitelist functionality... >> May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar >> command /usr/local/bin/unrar >> May 29 20:47:53 luey MailScanner[540]: Using locktype = flock >> May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, >> size=37, class=0, nrcpts=1, >> msgid=<200605291950.k4TJo27K000552@luey.casezero.net>, >> relay=root@localhost >> May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, >> ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, >> pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: >> Connection refused by [127.0.0.1] >> >> Can anyone identify from this what is causing the connection to be >> refused ?? > > MailScanner config? What tcp port is it supposed to listen to? Is > sendmail configured to relay to that port? Can you telnet to it ok? Hmm, it does not look like MailScanner uses tcp at all, rather looks directly at queued spool files. If that is the case it could be a permissions problem for the sendmail spool directory for instance. Sorry for the waste of bandwidth...