[Mimedefang] Error Message

Jeff Grossman jeff at stikman.com
Tue Dec 17 22:46:01 EST 2002


> -----Original Message-----
> From: mimedefang-admin at lists.roaringpenguin.com [mailto:mimedefang-
> admin at lists.roaringpenguin.com] On Behalf Of David F. Skoll
> Sent: Tuesday, December 17, 2002 6:55 PM
> To: mimedefang at lists.roaringpenguin.com
> Subject: Re: [Mimedefang] Error Message
> 
> > One additional thing.  I must have set something up wrong.  I am now
> > getting all of the slave messages in my maillog instead of just the
> > mimedefang/stats file.  What variable did I set that I did not want
to
> > set?  I still want the mimedefang/stats file.
> 
> Must have accidentally supplied -T to mimedefang-multiplexor instead
> of -t.  Controlled by the MX_STATS and MX_STATS_SYSLOG variables in
> my standard startup script.
> 

Yes, I had both MX_STATS and MX_STATS_SYSLOG configured with yes in the
mimedefang-sysconfig file.  I changed the MX_STATS_SYSLOG to no, and I
think that might have taken care of it.  When I restarted MIMEDefang, I
did see the messages showing the slaves starting, but I have not seen
any additional slave messages in my maillog file.

> > p.s.  I put the following code in filter_relay, but it appears to
not be
> > working, because the above message was scanned by MIMEDefang:
> 
> >     if ($relayaddress eq "127.0.0.1" and
> >         $address =~ /^10\.10\.10\./) {
> 
> Well, is it $relayaddress or $address? :-)  That's the cause of your
> other error (uninitialized value in string eq)

Okay, I realized that code was wrong and changed it to the following:

    if ($hostip eq '127.0.0.1' or
        $hostip =~ /^10\.10\.10\./) {
        return ('ACCEPT_AND_NO_MORE_FILTERING', "ok");
    }
    return ('CONTINUE', "ok");

in my filter_relay section.  I still have
    return (1, "OK");
as the last line of my filter_relay section, is that correct?  But, I am
still getting the uninitialized error when receiving mail.

Dec 17 19:38:10 apple sm-mta[23191]: gBI3c6MI023191:
from=<jeffgman at msn.com>, si
ze=729, class=0, nrcpts=2,
msgid=<001f01c2a646$d973ed50$0a0a0a0a at jeffxp>, proto=
ESMTP, daemon=MTA, relay=oe21.pav0.hotmail.com [64.4.32.101]
Dec 17 19:38:13 apple mimedefang-multiplexor: Slave 0 stderr: Use of
uninitializ
ed value in split at /usr/lib/perl5/5.6.1/File/Spec/Unix.pm line 189.
Use of uni
nitialized value in split at /usr/lib/perl5/5.6.1/File/Spec/Unix.pm line
189.
Dec 17 19:38:13 apple sm-mta[23191]: gBI3c6MI023191: Milter add: header:
X-Spam-
Score: No, 0.5 ()
Dec 17 19:38:13 apple sm-mta[23191]: gBI3c6MI023191: Milter add: header:
X-Scann
ed-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Dec 17 19:38:13 apple sm-mta[23194]: gBI3c6MI023191:
to=<hostmaster at stikman.com>
, delay=00:00:07, xdelay=00:00:00, mailer=local, pri=60989, dsn=2.0.0,
stat=Sent
Dec 17 19:38:13 apple sm-mta[23194]: gBI3c6MI023191:
to=<jeff at stikman.com>, dela
y=00:00:07, xdelay=00:00:00, mailer=local, pri=60989, dsn=2.0.0,
stat=Sent

Any ideas?  The only thing I changed in my filter was the code I put
above, and I added the following line to filter_end

        send_quarantine_notifications();

I can paste my whole config file here if that would help.  Just not sure
if it is a good idea to put my config file in a public place.  Would it
matter?

Thanks,
Jeff
-- 
Jeff Grossman (jeff at stikman.com)




More information about the MIMEDefang mailing list