Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2006 21:27:15 +0200
From:      "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" <wodfer@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Help fixing sendmail crassh
Message-ID:  <23ed14b80608071227u277516ffnb52ea885f3c365f0@mail.gmail.com>
In-Reply-To: <20060702190114.GA1356@gothmog.pc>
References:  <23ed14b80607020232j116c9a2dj3828418e095b7ed2@mail.gmail.com> <20060702190114.GA1356@gothmog.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 7/2/06, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
>
> On 2006-07-02 11:32, Andreas Wider?e Andersen <wodfer@gmail.com> 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<TMPF> /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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23ed14b80608071227u277516ffnb52ea885f3c365f0>