Re: Help fixing sendmail crassh

2006-08-07 Thread Andreas Widerøe Andersen

Hi,

On 7/2/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:


On 2006-07-02 11:32, Andreas Wider?e Andersen [EMAIL PROTECTED] 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 -TTMPF /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', `WorkAroundBroken')
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', `WorkAroundBroken')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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help fixing sendmail crassh

2006-07-02 Thread Giorgos Keramidas
On 2006-07-02 11:32, Andreas Wider?e Andersen [EMAIL PROTECTED] 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'
#

 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?

* Have you checked your memory for errors (see the sysutils/memtest and
  the sysutils/memtest86 ports).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]