[Mimedefang] MIMEdefang working?

Rainer Koschnick arkay at gmx.net
Wed Jan 15 08:27:00 EST 2003


Hello,

I followed all of the steps explained in the excellent MIMEdefang HOWTO, yet I
still cannot see MIMDEdefang doing anything with incoming mail.

I enabled logging (-l) in the startup script and I can see that the
processes are started:

Jan 15 12:58:55 www mimedefang-multiplexor: started; minSlaves=2, maxSlaves=10, maxRequests=100, maxIdleTime=300, busyTimeout=30, clientTimeout=10
Jan 15 12:58:55 www mimedefang-multiplexor: Starting slave 0 (pid 10594) (1 running): Bringing slaves up to minSlaves
Jan 15 12:58:55 www mimedefang-multiplexor: stats 1042631935.272 StartSlave slave=0 nslaves=1 nbusy=0 reason="Bringing slaves up to minSlaves"
Jan 15 12:58:56 www sendmail[10605]: starting daemon (8.12.7): queueing at 01:00:00
Jan 15 12:58:58 www mimedefang-multiplexor: Starting slave 1 (pid 10607) (2 running): Bringing slaves up to minSlaves
Jan 15 12:58:58 www mimedefang-multiplexor: stats 1042631938.300 StartSlave slave=1 nslaves=2 nbusy=0 reason="Bringing slaves up to minSlaves"

but when there is incoming mail, I don't see any actions other
than those by sendmail:

Jan 15 13:00:15 www sendmail[10641]: h0FC0FKO010641: from=xxx,
size=4732, class=0, nrcpts=1, msgid=xxx, proto=ESMTP, daemon=MTA, relay=www1.ext2.nads.de [195.138.34.98]
Jan 15 13:00:15 www sendmail[10642]: h0FC0FKO010641: to=xxx, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=34930, dsn=2.0.0, stat=Sent

My process list:

10593 ?        S      0:00 /usr/local/bin/mimedefang-multiplexor -x 10 -m 2 -b 30 -i 300 -l -t /var/log/md-stats -T -s /var/spool/MI
MEDefang/mdefang-mx.sock -p /var/spool/MIMEDefang/mdefang-mx.pid -U defang
10594 ?        S      0:00 /usr/bin/perl -w /usr/local/bin/mimedefang.pl -server
10598 ?        S      0:00 /usr/local/bin/mimedefang -m /var/spool/MIMEDefang/mdefang-mx.sock -p /var/spool/MIMEDefang/mimedefang.so
ck -P /var/spool/MIMEDefang/mimedefang.pid -U defang
10599 ?        S      0:00 /usr/local/bin/mimedefang -m /var/spool/MIMEDefang/mdefang-mx.sock -p /var/spool/MIMEDefang/mimedefang.so
ck -P /var/spool/MIMEDefang/mimedefang.pid -U defang
10600 ?        S      0:00 /usr/local/bin/mimedefang -m /var/spool/MIMEDefang/mdefang-mx.sock -p /var/spool/MIMEDefang/mimedefang.so
ck -P /var/spool/MIMEDefang/mimedefang.pid -U defang
10605 ?        S      0:00 sendmail: Queue runner at 01:00:00 for /var/spool/mqueue
10607 ?        S      0:00 /usr/bin/perl -w /usr/local/bin/mimedefang.pl -server

My sendmail.mc:

divert(-1)
#
include(`/usr/share/sendmail/m4/cf.m4')
divert(0)dnl
VERSIONID(`@(#)Setup for SuSE Linux     8.9.3-0.1 (SuSE Linux) 26/10/1999')
OSTYPE(`linux')dnl
FEATURE(use_cw_file)dnl
FEATURE(`always_add_domain')dnl
FEATURE(`access_db')dnl
INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, T=S:5m;R:5m')
TRUST_AUTH_MECH(`DIGEST-MD5 GSSAPI PLAIN LOGIN KERBEROS_V4')dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 PLAIN LOGIN GSSAPI KERBEROS_V4')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth/auth-info')dnl
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Name=MTA')
DAEMON_OPTIONS(`Port=587, Name=MSA, M=a')dnl
C{TrustAuthMech} (TRUST_AUTH_NECH())
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
MAILER(`uucp')dnl
LOCAL_CONFIG

Does anyone have any idea how I can get more information or what I might
have forgotten?

The only other messages I see sporadically are those:

Jan 15 14:15:01 www sendmail[11097]: dangerous permissions=40755 on queue directory /var/spool/clientmqueue/
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097: SYSERR(wwwrun): collect: Cannot write ./dfh0FDF1Gi011097 (bfcommit, uid=30, gid=65534): Permission denied
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097: from=wwwrun, size=1845, class=0, nrcpts=8, relay=wwwrun at localhost
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097:   0: fl=0x0, mode=10600: FIFO: dev=0/0, ino=4742368, nlink=1, u/gid=30/65534, size=0
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097:   1: fl=0x1, mode=20666: CHR: dev=3/7, ino=1035293, nlink=1, u/gid=0/0, size=0
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097:   2: fl=0x401, mode=100644: dev=3/7, ino=1658068, nlink=1, u/gid=100/8, size=1138333024
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097:   3: fl=0x2, mode=140777: SOCK localhost->[[UNIX: /dev/log]]
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097:   4: fl=0x1, mode=20666: CHR: dev=3/7, ino=1035293, nlink=1, u/gid=0/0, size=0
Jan 15 14:15:01 www sendmail[11097]: h0FDF1Gi011097: SYSERR(wwwrun): queueup: cannot create queue temp file ./tfh0FDF1Gi011097, uid=30: Permission denied

It doesn't look as if they are related to incoming internet mail though.

Thanks in advance,
Rainer




More information about the MIMEDefang mailing list