[Mimedefang] action_notify_administrator

Will McCorkle WMcCorkle at dgsystems.com
Thu Feb 20 14:26:01 EST 2003


I am running Sendmail 8.12.7, SpamAssassin 2.44 and MimeDefang 2.30. The
problem is that I have set up mimedefang-filter to send an email to the
admin if there is a spam email. As you can see from the entry from my mail
log, it is not working. I add to the sendmail start up script to get it to
send to Clientqueue, made defang a trusted user and made changes to
mimedefang-filter and still this is not sending email messages. Please help!
any suggested would be wonderful. Here is a copy of the line from mimedefang
as well as a clip from my sendmail log.

#***********************************************************************
# Set administrator's e-mail address here.  The administrator receives
# quarantine messages and is listed as the contact for site-wide
# MIMEDefang policy.  A good example would be 'defang-admin at mydomain.com'
#***********************************************************************
$AdminAddress = 'wmccorkle at mydomain.com';
#$AdminName = "Will McCorkle";

# Don't run SA against messages bigger than 200k
    if ((-s "./INPUTMSG") <= (200 * 1024)) {
        my($hits, $req, $names, $report) = spam_assassin_check();
        $SAReport = $report;
        if ($hits >= $req) {
            action_add_header("X-Spam-Warning", "SpamAssassin says this
message is SPAM");
            action_add_header("X-Spam-Status", "Yes, hits=$hits
required=$req");
            action_add_header("X-Spam-Report","$report");
            return  action_notify_administrator($AdminAddress);
        } else {
            action_add_header("X-Spam-Status", "No");
          }

Feb 20 13:17:33 CTDWeb01 sm-mta[28778]: h1KJHX2B028778:
from=<wmccorkle at mydomain.com>, size=344, class=0, nrcpts=1,
msgid=<200302201922.h1KJMGd07191 at nickel.dgsystems.com>, proto=ESMTP,
daemon=MTA, relay=domain1.com [10.3.1.90]
Feb 20 13:17:34 CTDWeb01 sendmail[28780]: dangerous permissions=40755 on
queue directory /var/spool/clientmqueue/
Feb 20 13:17:34 CTDWeb01 sendmail[28780]: h1KJHYbq028780:
Authentication-Warning: domain2.com: defang set sender to
mailer-daemon at localhost using -f
Feb 20 13:17:34 CTDWeb01 sendmail[28780]: h1KJHYbq028780:
from=mailer-daemon at localhost, size=218, class=0, nrcpts=1,
msgid=<200302201917.h1KJHYbq028780 at CTDWeb01.dgsystems.com>,
relay=defang at localhost
Feb 20 13:17:34 CTDWeb01 sendmail[28780]: h1KJHYbq028780:
to=wmccorkle at mydomain.com, delay=00:00:00, mailer=local, pri=30186,
dsn=4.4.3, stat=queued
Feb 20 13:17:34 CTDWeb01 mimedefang-multiplexor: Slave 0 stderr: Usage:
Sys::Syslog::_PATH_LOG() at /usr/lib/perl5/5.6.0/i386-linux/Sys/Syslog.pm
line 277. 
Feb 20 13:17:34 CTDWeb01 mimedefang-multiplexor: Slave 0 died prematurely --
check your filter rules
Feb 20 13:17:34 CTDWeb01 mimedefang-multiplexor: Reap: Idle slave 0 (pid
28386) exited normally with status 255 (SLAVE DIED UNEXPECTEDLY)
Feb 20 13:17:34 CTDWeb01 mimedefang-multiplexor: Slave 0 resource usage:
req=1, scans=1, user=1.710, sys=0.100, nswap=0, majflt=757, minflt=4421,
maxrss=0, bi=0, bo=0
Feb 20 13:17:34 CTDWeb01 mimedefang[28779]: Error from multiplexor: ERR No
response from slave
Feb 20 13:17:34 CTDWeb01 sm-mta[28778]: h1KJHX2B028778: Milter: data,
reject=451 4.7.1 Please try again later
Feb 20 13:17:34 CTDWeb01 sm-mta[28778]: h1KJHX2B028778:
to=<wmccorkle at mydomain.com>, delay=00:00:01, pri=30328, stat=Please try
again later
Feb 20 13:17:37 CTDWeb01 mimedefang-multiplexor: Starting slave 0 (pid
28781) (2 running): Bringing slaves up to minSlaves (2)

Thank You
Will McCorkle
DG Systems
972-581-2119




More information about the MIMEDefang mailing list