[Mimedefang] Desparate for help

Barry Byrne barry.byrne at wbtsystems.com
Tue Oct 22 13:40:01 EDT 2002


>     147         open(IN, "<./HEADERS");
>     148         while() {

Perhaps line 148 should read:	while(<IN>) {

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland


> -----Original Message-----
> From: mimedefang-admin at lists.roaringpenguin.com
> [mailto:mimedefang-admin at lists.roaringpenguin.com]On Behalf Of Link,
> Pete
> Sent: 22 October 2002 18:11
> To: 'mimedefang at lists.roaringpenguin.com'
> Subject: RE: [Mimedefang] Desparate for help
>
>
> Additional stuff I found:
>
> Anyone can heLP???  Any CLUES???
>
> -I turned all logging on that I could find and I found this in
> /var/log/maillog:
>
> Oct 22 11:52:32 mail2 mimedefang-multiplexor: Slave 0 stderr: Use of
> uninitialized value in pattern match (m//) at /etc/mail/mimedefang-filt
> er line 149. Use of uninitialized value in pattern match (m//) at
> /etc/mail/mimedefang-filter line 149. Use of uninitialized value in patter
> n match (m//) at /etc/mail/mimedefang-filter line 149. Use of
> uninitialized
> value in pattern match (m//) at /etc/mail/mimedefang-filter line
>  149. Use of uninitialized value in pattern match (m//) at
> /etc/mail/mimedefang-filter line 149. Use of uninitialized value
> in pattern
> match
>  (m//) at /et
>
> /etc/mail/mimedefang-filter line 149 contains the following:
>     146     if($bounce eq "no") {
>     147         open(IN, "<./HEADERS");
>     148         while() {
>     149             if(/beleskari/i) {
>     150                 $bounce = "yes";
>     151                 action_quarantine_entire_message();
>     152                 action_bounce("Porn not welcome here");
>     153                 last;
>     154             }
>     155         }
>     156         close(IN);
>     157     }
>
> > -----Original Message-----
> > From:	Link, Pete [SMTP:plink at fna.com]
> > Sent:	Tuesday, October 22, 2002 11:47 AM
> > To:	'mimedefang at lists.roaringpenguin.com'
> > Subject:	[Mimedefang] Desparate for help
> >
> > 	I don't mean to sound desperate, but I am since I am making no
> > progress.
> >
> > 	1.  It appears that the mimedefang-multiplexor process is dying
> > after it is exectured for the first time when it executes the 1st SPAM
> > Mail.
> > Not sure how to solve this.
> >
> > 	This is what I did:
> > > I checked the perl scripts for correctness:
> > > Cd /etc/mail/
> > > [root at mail2 mail]# mimedefang.pl -test
> > > Filter /etc/mail/mimedefang-filter seems syntactically correct.
> > >
> > 	This is what I see in the Maillog:
> > 	I kept increasing the BUSY TIMEOUT for MIMEDEFANG; however nothing
> > seems to help.
> >
> > > cat /var/log/maillog | grep ERR
> > > Oct 18 15:38:59 mail2 mimedefang[8283]: Error from multiplexor: ERR
> > Filter
> > > timed out - check filter rules or system load
> > > Oct 18 15:42:27 mail2 mimedefang[8290]: Error from multiplexor: ERR
> > Filter
> > > timed out - system may be overloaded (consider increasing
> busy timeout)
> > >
> > > cat /var/log/maillog | grep mimedefang-multiplexor
> > > Oct 18 15:42:36 mail2 mimedefang-multiplexor: Slave died
> prematurely --
> > > check your filter rules and use the '-l' flag on
> mimedefang-multiplexor
> > to
> > > see Perl error messages
> > > Oct 18 15:42:49 mail2 mimedefang-multiplexor: Slave died
> prematurely --
> > > check your filter rules and use the '-l' flag on
> mimedefang-multiplexor
> > to
> > > see Perl error messages
> > > Oct 18 15:42:54 mail2 mimedefang-multiplexor: Slave died
> prematurely --
> > > check your filter rules and use the '-l' flag on
> mimedefang-multiplexor
> > to
> > > see Perl error messages
> > > Oct 18 15:43:05 mail2 mimedefang-multiplexor: Slave died
> prematurely --
> > > check your filter rules and use the '-l' flag on
> mimedefang-multiplexor
> > to
> > > see Perl error messages
> > > Oct 18 15:43:09 mail2 mimedefang-multiplexor: Slave died
> prematurely --
> > > check your filter rules and use the '-l' flag on
> mimedefang-multiplexor
> > to
> > > see Perl error messages
> > > Oct 18 15:55:55 mail2 mimedefang-multiplexor: WARNING: You are running
> > > mimedefang-multiplexor as root.  Future versions of MIMEDefang may
> > refuse
> > > to run as root.
> > > Oct 18 15:55:55 mail2 mimedefang-multiplexor: started; minSlaves=0,
> > > maxSlaves=2, maxRequests=100, maxIdleTime=300, busyTimeout=120,
> > > clientTimeout=10
> > > Oct 18 15:56:13 mail2 mimedefang-multiplexor: WARNING: You are running
> > > mimedefang-multiplexor as root.  Future versions of MIMEDefang may
> > refuse
> > > to run as root.
> > > Oct 18 15:56:13 mail2 mimedefang-multiplexor: started; minSlaves=0,
> > > maxSlaves=2, maxRequests=100, maxIdleTime=300, busyTimeout=120,
> > > clientTimeout=10
> > > Oct 18 15:56:41 mail2 mimedefang-multiplexor: Received
> SIGTERM: Killing
> > > slaves and terminating
> > > Oct 18 15:56:41 mail2 mimedefang-multiplexor: Received
> SIGTERM: Killing
> > > slaves and terminating
> > > Oct 18 15:56:52 mail2 mimedefang-multiplexor: WARNING: You are running
> > > mimedefang-multiplexor as root.  Future versions of MIMEDefang may
> > refuse
> > > to run as root.
> > > Oct 18 15:56:52 mail2 mimedefang-multiplexor: started; minSlaves=0,
> > > maxSlaves=2, maxRequests=100, maxIdleTime=300, busyTimeout=120,
> > > clientTimeout=10
> > >
> > _______________________________________________
> > MIMEDefang mailing list
> > MIMEDefang at lists.roaringpenguin.com
> > http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>




More information about the MIMEDefang mailing list