***SPAM*** possible sendmail config problem/Perl

Peter W. Merritt pwmerritt at weirdwater.org
Wed Mar 17 04:43:23 PST 2004


Hi,

Using FreeBSD 5.1

Acting as a mailserver, which runs a Perl 'application' to answer
questions from the public

I'm a Perl novice. I switched from a SuSE Linux Distribution as the
application constantly crashed.

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 here ************

any ideas would help.

Thanks.  Tim

bogue at uic.edu
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list