Sendmail/system error msg's

Timothy E Bogue bogue at uic.edu
Wed Mar 17 10:03:46 PST 2004


Hi,

Sendmail/system configuration question (might be either or both)

Is there a specific FreeBSD 'list' I should be sending this
question to?

Thanks.  Tim


BEGIN --------------------- Error from /var/spool/mqueue

dosmirror# more qfi2HGe0Xp043016
V6
T1079541600
K1079541600
N1
P41023
MOperating system error
Fbs
$_localhost.lib.uic.edu [127.0.0.1]
$rESMTP
$sdosmirror.lib.uic.edu
${daemon_flags}
${if_addr}127.0.0.1
S<qrc at dosmirror.lib.uic.edu>
MOperating system error
C:<qrc at dosmirror.lib.uic.edu>
rRFC822; qrc at dosmirror.lib.uic.edu
RPFD:<qrc at dosmirror.lib.uic.edu>
H?P?Return-Path: <<81>g>
H??Received: from dosmirror.lib.uic.edu (localhost.lib.uic.edu
[127.0.0.1])
        by dosmirror.lib.uic.edu (8.12.10/8.12.10) with ESMTP id
i2HGe0Xp043016
        for <qrc at dosmirror.lib.uic.edu>; Wed, 17 Mar 2004 10:40:00 -0600
(CST)
        (envelope-from qrc at dosmirror.lib.uic.edu)
H?x?Full-Name: qrc user
qfi2HGe0Xp043016 51%V6
T1079541600
K1079541600
N1
P41023
MOperating system error
Fbs
$_localhost.lib.uic.edu [127.0.0.1]
$rESMTP
$sdosmirror.lib.uic.edu
${daemon_flags}
${if_addr}127.0.0.1
S<qrc at dosmirror.lib.uic.edu>
MOperating system error
C:<qrc at dosmirror.lib.uic.edu>
rRFC822; qrc at dosmirror.lib.uic.edu
RPFD:<qrc at dosmirror.lib.uic.edu>
H?P?Return-Path: <<81>g>
H??Received: from dosmirror.lib.uic.edu (localhost.lib.uic.edu
[127.0.0.1])
        by dosmirror.lib.uic.edu (8.12.10/8.12.10) with ESMTP id
i2HGe0Xp043016
        for <qrc at dosmirror.lib.uic.edu>; Wed, 17 Mar 2004 10:40:00 -0600
(CST)
        (envelope-from qrc at dosmirror.lib.uic.edu)
H?x?Full-Name: qrc user
H??Received: (from qrc at localhost)
        by dosmirror.lib.uic.edu (8.12.10/8.12.10/Submit) id
i2HGe0UE043015;
        Wed, 17 Mar 2004 10:40:00 -0600 (CST)
        (envelope-from qrc)
H??Date: Wed, 17 Mar 2004 10:40:00 -0600 (CST)
H??Message-Id: <200403171640.i2HGe0UE043015 at dosmirror.lib.uic.edu>
H??From: qrc at dosmirror.lib.uic.edu (Cron Daemon)
H??To: qrc at dosmirror.lib.uic.edu
H??Subject: Cron <qrc at dosmirror> /home/qrc/bin/Qrcmailout /home/qrc
H??X-Cron-Env: <SHELL=/bin/sh>
H??X-Cron-Env: <HOME=/home/qrc>
H??X-Cron-Env: <PATH=/usr/bin:/bin>
H??X-Cron-Env: <LOGNAME=qrc>
H??X-Cron-Env: <USER=qrc>
.
~
~
~

END --------------------- Error from /var/spool/mqueue


Begin other stuff ****************************************

Sendmail has the following complaint:

dosmirror# more maillog
Mar 14 08:53:07 dosmirror sm-mta[56111]: starting daemon (8.12.10):
SMTP+queueing at 00:30:00
Mar 14 08:53:07 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 2000
Mar 14 08:53:07 dosmirror sm-msp-queue[56114]: starting daemon (8.12.10):
queueing at 00:30:00
Mar 14 08:53:08 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 3000
Mar 14 08:53:08 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 4000
Mar 14 08:53:08 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 5000
Mar 14 08:53:08 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 6000
Mar 14 08:53:08 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 7000
Mar 14 08:53:08 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 8000
Mar 14 08:53:08 dosmirror sm-mta[56112]: grew WorkList for
/var/spool/mqueue to 9000
Mar 14 08:53:08 dosmirror sm-mta[56116]: i2EETVZX047626: SYSERR(root):
Cannot exec /home/qrc/bin/qrcmailin: Exec format error
Mar 14 08:53:08 dosmirror sm-mta[56112]: i2EETVZX047626: to=root,
ctladdr=root (26/0), delay=00:17:02, xdelay=00:00:00, mailer=qrc,
pri=123562, relay=localhost, dsn=4.0.0, stat=Operating system error
Mar 14 08:53:08 dosmirror sm-mta[56117]: i2EETVZW047626: SYSERR(root):
Cannot exec /home/qrc/bin/qrcmailin: Exec format error

using
perl-5.8.2_2.tbz, did a use.perl port

pkg_add -r sendmail

Modify the default .mc file: freebsd.mc, Add necessary parts from
qrc-dosref.mc, Create a combined file,copy the combined file using the
domain (dosmirror.lib.uic.edu)

cp /home/bogue/local-host-names /etc/mail/local-host-names
cp /home/bogue/dosmirror.lib.uic.edu.mc dosmirror.lib.uic.edu.mc

The new .mc file:

start here **********

dosmirror# more dosmirror.lib.uic.edu.mc
divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#       The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#       This product includes software developed by the University of
#       California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 5.X and later systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.28 2003/04/18
01:25:41 gshapiro Exp $')
OSTYPE(freebsd5)
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 http://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 Uncomment both of the following lines to listen on IPv6 as well as
IPv4
dnl DAEMON_OPTIONS(`Name=IPv4, Family=inet')
dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6')

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
define(`confTRUSTED_USERS', `qrc')dnl
define(`MAIL_HUB', `qrc:localhost')dnl
MAILER(local)
MAILER(smtp)

MAILER_DEFINITIONS

#################################
###   QRC Mailer definition   ###
#################################

Mqrc,           P=/home/qrc/bin/qrcmailin, F=lsDFMoq, R=20/40,
D=/home/qrc,
                T=X-Qrc/X-Qrc/X-Qrc,
                A=/home/qrc/bin/qrcmailin $u



end other stuff ****************************************

any ideas would help.

Thanks.  Tim

bogue at uic.edu



More information about the freebsd-questions mailing list