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 [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to