From owner-freebsd-questions Sun Jan 20 18:31:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.austclear.com.au (ns1.austclear.com.au [192.43.185.68]) by hub.freebsd.org (Postfix) with ESMTP id 5333E37B400 for ; Sun, 20 Jan 2002 18:31:36 -0800 (PST) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.166.65]) by ns1.austclear.com.au (8.11.2/8.11.3) with ESMTP id g0L2VZ072636; Mon, 21 Jan 2002 13:31:35 +1100 (EST) (envelope-from ahl@austclear.com.au) Received: from tungsten (tungsten [192.168.166.65]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id NAA18618; Mon, 21 Jan 2002 13:31:34 +1100 (EST) Message-Id: <200201210231.NAA18618@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: info@netarmor.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail panic In-Reply-To: Message from "Michael C. Beeler" of "Sun, 20 Jan 2002 18:00:08 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Jan 2002 13:31:34 +1100 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG info@netarmor.net said: > I've deleted all of the files in /var/spool/mqueue but the queue keeps > building up again. Does any one know what the problem is. This > seems to have begun after /var file system filled up. I expect that you've only given half the story (which I'm not saying is intentional). Sendmail doesn't pull things out of thin air, so if the queue keeps building up then either you have a LOT of e-mail going through, or something is seriously broken. In either case, it's all in syslog. The messages you have included are both saying the same thing: /var is full. Sendmail doesn't like /var filling up at all, since pretty much everything it needs to do is on /var: /var/spool/mqueue sendmail working/queue directory /var/log logging (via syslog) /var/mail user mail drops /var/tmp usual "drop of last resort" /var/run sendmail "pid" file So what do you do? 1. Stop sendmail. 2. Clear up as much space as you can on /var. 3. Run mailq to see what's actually there. 4. Try running "sendmail -qI" (refer to the man page) a few times to try to get rid of a few messages at a time. 5. Look at the mail queue each time to check what happened. If things are going back into the queue, you probably have something else to fix. 6. Once everything is cleaned up, start sendmail again. You may then like to look at where all your disk space is allocated, and maybe reconfigure sendmail to use different locations where there is "room to move". Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message