From owner-freebsd-questions@FreeBSD.ORG Mon Aug 7 19:27:28 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 C7A0316A4DA for ; Mon, 7 Aug 2006 19:27:28 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6E9D43D68 for ; Mon, 7 Aug 2006 19:27:16 +0000 (GMT) (envelope-from wodfer@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so592021wxd for ; Mon, 07 Aug 2006 12:27:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OOqOEv1D6xNDJyjnm9JZeP/Rve8wvr66vfehP5za+Lcwb4/yj1iSlgYyZM/OqNm5GOmKEhapZQ/oLQeFPzwfEqgcImL1B5p/XAx02vV03GEIMUzvLNwULbSZTiafmX9XXBpRZy9aPriSb1d3RJi2minjSvJxjy8EHGXvbyh9HIQ= Received: by 10.78.203.15 with SMTP id a15mr2495072hug; Mon, 07 Aug 2006 12:27:15 -0700 (PDT) Received: by 10.78.169.7 with HTTP; Mon, 7 Aug 2006 12:27:15 -0700 (PDT) Message-ID: <23ed14b80608071227u277516ffnb52ea885f3c365f0@mail.gmail.com> Date: Mon, 7 Aug 2006 21:27:15 +0200 From: "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" To: freebsd-questions@freebsd.org In-Reply-To: <20060702190114.GA1356@gothmog.pc> MIME-Version: 1.0 References: <23ed14b80607020232j116c9a2dj3828418e095b7ed2@mail.gmail.com> <20060702190114.GA1356@gothmog.pc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Help fixing sendmail crassh 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, 07 Aug 2006 19:27:28 -0000 Hi, On 7/2/06, Giorgos Keramidas wrote: > > On 2006-07-02 11:32, Andreas Wider?e Andersen wrote: > > Hi, > > Sendmail exits about every 30 minutes. I suspect it has to do with some > > mailqueues running, but I don't know how to stop or fix it. > > > > Running FreeBSD 4.11 p19 > > Sendmail 8.13.1 > > > > from /var/log/messages > > > > Jul 1 20:41:02 malibu /kernel: pid 50923 (sendmail), uid 0: exited on > signal 11 > > Jul 1 21:08:59 malibu /kernel: pid 51058 (sendmail), uid 0: exited on > signal 11 > > Jul 1 21:39:00 malibu /kernel: pid 51252 (sendmail), uid 0: exited on > signal 11 > > Jul 1 22:07:39 malibu /kernel: pid 51374 (sendmail), uid 0: exited on > signal 11 > > Are other programs crashing with signal 11 too? This may be a hardware > problem. I've been running Sendmail on FreeBSD for ages without any > sign of signal 11: > > # cd /var/log > # ( bzcat $( ls -d1 messages*bz2 | sort -r) ; cat messages ) | grep > 'sendmail.*signal' > # This shows a lot of Sendmail Signal 11 errors. > I was hoping someone could give me a hand here so I can get this issue > > resolved. > > * What local configuration changes have you made to the standard > freebsd.mc and freebsd.submit.mc files? My freebsd.mc file from /etc/mail: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.19 2003/12/31 17:42:16 gshapiro Exp $') OSTYPE(freebsd4) DOMAIN(generic) FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl -------------------------------- dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see htt p://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) freebsd.submit.mc divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.2.1 2003/10/30 22:38:33 gshapiro Exp $' ) define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl dnl dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] FEATURE(`msp', `[127.0.0.1]')dnl * Have you checked your memory for errors (see the sysutils/memtest and > the sysutils/memtest86 ports). Testing now, but don't think there are memory problems. The system works fine besides Sendmail. Before I rebooted last time the server had an uptime of 592 days. /Andreas