[Mimedefang] What have I done wrong?
Michael O'Doherty
mikepodoherty at netscape.net
Wed Nov 5 12:32:53 EST 2003
Help!
I've installed mimedefang, clamav on my test system. When I send email to an account on the test server, I get a refused message. I checked www.mimedefang.org and couldn't find anything that I recognized as relating to this problem. Nor did anything I found searching for mimedefang on google produce any results that I recognized as relating to this problem. My question is what did I screw up in the setup?
Processes show both sendmail and mimedefang working - mimedefang running as user defang, sendmail as smsnp - the mimedefang-multiplexor.sock is in /var/spool/mimedefang (After a time miemefang disappears form the process list but I haven’t tracked down any error messages in the logs.)
The test server hosts a valid public domain with correct MX records.
System information:
OpenBSD 3.1
Sendmail 8.12.10
mimedefang 2.38
clamav-0.60
Can't connect on port 25 using hypeterminal
Sendmail.mc
divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
#
# This is a generic configuration file for 4.4 BSD-based systems,
# including 4.4-Lite, BSDi, NetBSD, and FreeBSD.
# It has support for local and SMTP mail only. If you want to
# customize it, copy it to a name appropriate for your environment
# and do the modifications there.
#
divert(0)dnl
VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $')
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
Other dnl Undefine(`UUCP_RELAY')dnl
Other dnl Undefine(`BITNET_RELAY')dnl
Define (`confAUTO_REBUILD')dnl
Define (`confTO_CONNECT', `1m')dnl
Define (`confTRY_NULL_MX_LIST',true)dnl
Define (`confDONT_PROBE_INTERFACES',true)dnl
Define (`ALIAS_FILE', `/etc/aliases')dnl
Define (`UUCP_MAILER_MAX', `2000000')dnl
Define (`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
Define (`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/libexec/smrsh')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(`dnsbl')
FEATURE(`enhdnsbl')
FEATURE(`access_db',`hash -o -T /etc/mail/access')
FEATURE(`blacklist_recipients')
FEATURE(`mailertable')
FEATURE(`virtusertable')
Other EXPOSED_USER(`root')dnl
FEATURE(`local_procmail')
INPUT_MAIL_FILTER(`/usr/local.bin/mimedefang -U defang -m /usr/local/bin/mimedefang-multiplexor', `S=mail:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:360s;R:360s;E:15m')
MAILER(`local')
MAILER(`smtp')
MAILER(`pop')
MAILER(`procmail')
rc.local
$OpenBSD: rc.local,v 1.33 2001/06/05 23:01:55 naddy Exp $
# site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
# which should be done BEFORE your system has gone into securemode
# please see /etc/rc.securelevel
# site-specific startup actions, daemons which can be run
# Add your local changes additions to this file
echo -n 'starting local daemons:'
# run ntpdate prior to ntpd
if [ $securelevel -le 1 -a X"${ntpdate_flags}" != X"NO" \
-a -x /usr/local/sbin/ntpdate ]; then
echo -n ' ntpdate'
/usr/local/sbin/ntpdate -b ${ntpdate_flags} >/dev/null
fi
if [ X"${ntpd}" == X"YES" -a -x /usr/local/sbin/ntpd \
-a -e /etc/ntp.conf ]; then
echo -n ' ntpd'; /usr/local/sbin/ntpd -p /var/run/ntpd.pid
fi
if [ -x /usr/local/sbin/cfsd ]; then
if ps auxc | grep -q '^ *root .* mountd$'; then
echo -n ' cfsd'; /usr/local/sbin/cfsd >/dev/null 2>&1
mount -o port=3049,nfsv2,intr localhost:/null /crypt
else
echo -n ' cfsd (failed, no mountd running)'
fi
fi
#if [ -x /usr/local/sbin/snmpd ]; then
# echo -n ' snmpd'; /usr/local/sbin/snmpd
#fi
echo '.'
# Netatalk stuff
#if [ -f /etc/netatalk/rc.atalk ]; then
# . /etc/netatalk/rc.atalk
#fi
/etc/webmin/start >/dev/null 2>&1 </dev/null # Start webmin
# Start Bind name server
named
# Start Apache
httpd
# Start MySql server
cd /usr/local/ ; ./bin/safe_mysqld &
# Srart Courier IMAP server
mkdir -p /var/run/courier-imap
/usr/local/libexec/authlib/authdaemond start
/usr/sbin/sshd2 -q
#start usermin
/etc/usermin/start
#start clam av anti-virus
/usr/local/sbin/clamd
#update clam anti-virus definitions
/usr/local/clamav-0.60/freshclam/freshclam -d -c 2 -l /var/log/clam-update.log
#to get mimedefnag working
/usr/local/bin/mimedefang -U defang -m /usr/local/bin/mimedefang-multiplexor
/var/log/maillog
Nov 5 06:00:01 mail newsyslog[6643]: logfile turned over
Nov 5 06:00:17 mail sendmail[1073]: starting daemon (8.12.10): queueing at 00:05:00
Nov 5 06:00:19 mail sendmail[31384]: hA5B0JAI031384: from=root, size=0, class=0, nrcpts=0, msgid=<200311051100.hA5B0JAI031384 at mail.someone.us>, relay=root at localhost
Nov 5 06:00:27 mail sendmail[6828]: hA5B0RpR006828: from=root, size=0, class=0, nrcpts=0, msgid=<200311051100.hA5B0RpR006828 at mail.someone.us>, relay=root at localhost
Nov 5 06:00:38 mail sendmail[11853]: starting daemon (8.12.10): queueing at 00:05:00
Nov 5 06:00:40 mail sendmail[3530]: hA5B0ekn003530: from=root, size=0, class=0, nrcpts=0, msgid=<200311051100.hA5B0ekn003530 at mail.someone.us>, relay=root at localhost
Nov 5 06:01:59 mail sendmail[3603]: hA5B1xYB003603: from=root, size=0, class=0, nrcpts=0, msgid=<200311051101.hA5B1xYB003603 at mail.someone.us>, relay=root at localhost
Nov 5 06:02:05 mail sendmail[23391]: starting daemon (8.12.10): queueing at 00:05:00
Nov 5 06:02:07 mail sendmail[30245]: hA5B27dY030245: from=root, size=0, class=0, nrcpts=0, msgid=<200311051102.hA5B27dY030245 at mail.someone.us>, relay=root at localhost
Nov 5 06:02:26 mail sendmail[2365]: starting daemon (8.12.10): queueing at 00:05:00
Nov 5 06:03:28 mail mimedefang[15552]: MXCommand: connect: Socket operation on non-socket: Is multiplexor running?
Nov 5 06:04:01 mail last message repeated 11 times
Nov 5 06:05:55 mail last message repeated 38 times
Nov 5 06:05:58 mail mimedefang[15552]: Multiplexor unresponsive - entering main loop anyway
Nov 5 06:05:58 mail mimedefang[15552]: MIMEDefang-2.38: missing connection information
Nov 5 06:09:24 mail sendmail[22720]: hA5B9Oht022720: from=root, size=0, class=0, nrcpts=0, msgid=<200311051109.hA5B9Oht022720 at mail.someone.us>, relay=root at localhost
Nov 5 06:09:26 mail sendmail[17810]: hA5B9Qhk017810: from=root, size=0, class=0, nrcpts=0, msgid=<200311051109.hA5B9Qhk017810 at mail.someone.us>, relay=root at localhost
Nov 5 06:11:43 mail sm-mta[31065]: starting daemon (8.12.10): SMTP+queueing at 00:30:00
Nov 5 06:12:05 mail mimedefang[13998]: MXCommand: connect: Socket operation on non-socket: Is multiplexor running?
Nov 5 06:12:14 mail last message repeated 3 times
Nov 5 06:12:15 mail sendmail[22821]: hA5BCFd5022821: from=root, size=0, class=0, nrcpts=0, msgid=<200311051112.hA5BCFd5022821 at mail.someone.us>, relay=root at localhost
Nov 5 06:12:17 mail mimedefang[13998]: MXCommand: connect: Socket operation on non-socket: Is multiplexor running?
Nov 5 06:12:18 mail sendmail[5337]: hA5BCIrA005337: from=root, size=0, class=0, nrcpts=0, msgid=<200311051112.hA5BCIrA005337 at mail.someone.us>, relay=root at localhost
Nov 5 06:12:20 mail mimedefang[13998]: MXCommand: connect: Socket operation on non-socket: Is multiplexor running?
Nov 5 06:12:41 mail last message repeated 7 times
Nov 5 06:12:43 mail sendmail[3880]: hA5BChtx003880: from=root, size=0, class=0, nrcpts=0, msgid=<200311051112.hA5BChtx003880 at mail.someone.us>, relay=root at localhost
Nov 5 06:12:44 mail mimedefang[13998]: MXCommand: connect: Socket operation on non-socket: Is multiplexor running?
Nov 5 06:13:15 mail last message repeated 10 times
Nov 5 06:14:33 mail last message repeated 26 times
Nov 5 06:14:36 mail mimedefang[13998]: Multiplexor unresponsive - entering main loop anyway
Nov 5 06:14:36 mail mimedefang[13998]: MIMEDefang-2.38: missing connection information
/var/log/daemom
Nov 5 06:11:49 mail named[9949]: starting BIND 9.2.1
Nov 5 06:11:49 mail named[9949]: using 1 CPU
Nov 5 06:11:50 mail named[9949]: loading configuration from '/etc/named.conf'
Nov 5 06:11:50 mail named[9949]: listening on IPv4 interface lo0, 127.0.0.1#53
Nov 5 06:11:51 mail named[9949]: listening on IPv4 interface dc0, xx..xx.xx.120#53
Nov 5 06:11:51 mail named[9949]: command channel listening on 127.0.0.1#953
Nov 5 06:11:51 mail named[9949]: command channel listening on ::1#953
Nov 5 06:11:52 mail named[9949]: zone localhost/IN: loaded serial 1047028814
Nov 5 06:11:52 mail named[9949]: dns_master_load: /etc/someone.hosts:12: ignoring out-of-zone data (mail)
Nov 5 06:11:52 mail named[9949]: zone someone/IN: loaded serial 1047028920
Nov 5 06:11:52 mail named[9949]: zone someone.us/IN: loaded serial 2003042201
Nov 5 06:11:52 mail named[9949]: running
/var/log/maillog (sendmail server for sender)
Nov 5 15:19:45 mail sendmail[23241]: hA5FJjMA010264: to=<person at someone.us>, ctladdr=<sender at mailserver.com> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30481, relay=mail.someone.us. [xx.xx.xx.120], dsn=4.0.0, stat=Deferred: Connection refused by mail.someone.us.
Nov 5 15:21:17 mail sendmail[14999]: hA5FLHMA025301: to=<person at someone.us>, ctladdr=<sender at mailserver.com> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30537, relay=mail.someone.us. [xx.xx.xx.120], dsn=4.0.0, stat=Deferred: Connection refused by mail.someone.us.
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
More information about the MIMEDefang
mailing list