opensubscriber
   Find in this group all groups
 
Unknown more information…

m : mimedefang@lists.roaringpenguin.com 13 August 2009 • 4:59AM -0400

[Mimedefang] stderr warnings from mimedefang - can't find them - also a filter_cleanup note
by Kevin A. McGrail

REPLY TO AUTHOR
 
REPLY TO GROUP




I'm working on a new filter and I've made a ton of changes.  However, I'm
getting errors like these which I can't seem to track down because the line
numbers seem to be skewed!

Aug 12 16:43:52 spam mimedefang-multiplexor[8087]: Slave 0 stderr: Use of
uninitialized value in concatenation (.) or string at
/etc/mail/mimedefang-filter line 759.
Aug 12 16:44:24 spam mimedefang-multiplexor[8087]: Slave 0 stderr: Use of
uninitialized value in concatenation (.) or string at
/etc/mail/mimedefang-filter line 508.
Aug 12 16:44:24 spam mimedefang-multiplexor[8087]: Slave 0 stderr: Use of
uninitialized value in numeric gt (>) at /etc/mail/mimedefang-filter line
593.

Line 593, for example, in the filter is a line that doesn't have a greater
than check on it.  Is there some magic way to convert the line # to the
correct line number that I'm missing?

As a side-note, I have a blank filter_cleanup currently.  I found that if I
added return 1 to my filter_cleanup, I no longer got errors on exit such as:

Aug 12 16:34:47 spam mimedefang-multiplexor[8087]: Slave 8 stderr: Use of
uninitialized value in exit at /usr/local/bin/mimedefang.pl line 5659.

Regards,
KAM

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@list...
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.