From owner-freebsd-questions@FreeBSD.ORG Mon Jun 26 20:51:46 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 3B6C116A40B for ; Mon, 26 Jun 2006 20:51:46 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7E4244679 for ; Mon, 26 Jun 2006 20:51:45 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k5QKoYvj075976; Mon, 26 Jun 2006 15:50:55 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <44A0488E.2010506@daleco.biz> Date: Mon, 26 Jun 2006 15:50:22 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.4) Gecko/20060623 SeaMonkey/1.0.2 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?= References: <23ed14b80606260641y3d1b709ehb1fd20605d409942@mail.gmail.com> In-Reply-To: <23ed14b80606260641y3d1b709ehb1fd20605d409942@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Need urgent help to get Sendmail running again 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: Mon, 26 Jun 2006 20:51:46 -0000 Andreas Widerĝe Andersen wrote: > Hi, > I had a recent downtime on the mailserver I'm running due to remote > location > and trouble with upgrading FreeBSD. I upgraded from 4.7 STABLE to the > latest > 4.11 with complete make world and new kernel, at first the machine didn't > come back up again due to a disk error, but now it's online again. However > I'm having big trouble getting Sendmail up and running normal again. > > I used to have sendmail configured with Spamassassin and Spamass-Milter, > but > I have now removed both of them from the .mc file and uninstalled both the > programs and startup files. > > When the machine is rebooted I get the following errors: > > pid 86 (sendmail), uid 0: exited on signal 11 > pid 87 (sendmail), uid 0: exited on signal 11 > > Sendmail version 8.13.1 > > Here are the first lines from /var/log/maillog (server startup) > > Jun 26 15:13:44 malibu sm-mta[86]: starting daemon (8.13.1): > SMTP+queueing@00:30:00 > Jun 26 15:13:44 malibu sm-msp-queue[91]: starting daemon (8.13.1): > queueing@00:30:00 > Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI000095: from=root, size=427, > class=-60, nrcpts=1, msgid=<200606261313.k5QDD > jPI000095@malibu.wideroe.net>, relay=root@localhost > Jun 26 15:13:45 malibu sendmail[95]: k5QDDjPI000095: to=ftp, ctladdr=root > (0/0), delay=00:00:00, xdelay=00:00:00, mailer > =relay, pri=138427, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, > stat=Deferred: > Connection refused by [127.0.0.1] > Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl000097: from=root, size=433, > class=-60, nrcpts=1, msgid=<200606261313.k5QDD > jQl000097@malibu.wideroe.net>, relay=root@localhost > Jun 26 15:13:45 malibu sendmail[97]: k5QDDjQl000097: to=root, ctladdr=root > (0/0), delay=00:00:00, xdelay=00:00:00, maile > r=relay, pri=138433, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, > stat=Deferred: Connection refused by [127.0.0.1] > Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ000099: from=root, size=455, > class=-60, nrcpts=1, msgid=<200606261313.k5QDD > jsQ000099@malibu.wideroe.net>, relay=root@localhost > Jun 26 15:13:46 malibu sendmail[99]: k5QDDjsQ000099: to=ftp, ctladdr=root > (0/0), delay=00:00:01, xdelay=00:00:00, mailer > =relay, pri=138455, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, > stat=Deferred: > Connection refused by [127.0.0.1] > Jun 26 15:13:46 malibu sendmail[103]: k5QDDkGH000103: from=root, size=427, > class=-60, nrcpts=1, msgid=<200606261313.k5QD > DkGH000103@malibu.wideroe.net>, relay=root@localhost > > There seems to be a lot of messages waiting to be sent, Ie. from the > forum I > run. > > Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCT000089: to=www, > delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425 > 88, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [ > 127.0.0.1] > Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCY000089: to=www, > delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425 > 92, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [ > 127.0.0.1] > Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCW000089: to=www, > delay=02:35:22, xdelay=00:00:00, mailer=relay, pri=8425 > 93, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [ > 127.0.0.1] > Jun 26 15:13:57 malibu sm-msp-queue[92]: k5QAVQCe000089: to=www, > delay=02:35:21, xdelay=00:00:00, mailer=relay, pri=8425 > 95, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [ > 127.0.0.1] > > /var/spool/clientmqueue contains many messages. > > Also, I can't get Sendmail to accept new messages for the people who are > users on this system. Mails I send from Ie. this gmail account do not reach > my account on the mailserver.I don't understand this. > > MX record is fine. > local-host-names contain all hostnames on the system. > virtusertable is OK. > Why is the server trying to connect to localhost, anyway? Did you do special configuration in order to have Sendmail deliver mail to 127.0.0.1 as part of your (former) configuration with Spamassassin? If so, did you undo these statements so that Sendmail would now deliver normally? Just curious, Kevin Kinsey