[Mimedefang] Embedded Perl multiplexor on Debian - sarge Error

Kayne Kruse kkruse at pointone.com
Wed Jul 19 18:28:53 EDT 2006


I just noticed this error, and was curious as to what in the filter is
the FD.

Jul 19 17:03:02 mailfilter mimedefang-multiplexor[4711]: WARNING:
Something in your Perl filter appears to have opened a file descriptor
outside of any function.  With embedded Perl, you should move any code
that opens a file descriptor into filter_initialize.  On some systems,
the C library may open a descriptor, but you should verify your filter
just in case.

I dont have anything other than the standard windows suggested filter as
a base with only some filter_relay code exempting 127.0.0.1 from
filtering and filter_end spam check is doing action_discard for anything
over $req.

Im only guessing that this might be the cause:


> total 20
> dr-x------  2 root   root    0 Jul 19 17:19 .
> dr-xr-xr-x  5 defang defang  0 Jul 19 17:17 ..
> lrwx------  1 root   root   64 Jul 19 17:19 0 -> /dev/null
> lrwx------  1 root   root   64 Jul 19 17:19 1 -> /dev/null
> lr-x------  1 root   root   64 Jul 19 17:19 10 -> pipe:[11402537]
> l-wx------  1 root   root   64 Jul 19 17:19 11 -> pipe:[11402543]
> lr-x------  1 root   root   64 Jul 19 17:19 12 -> pipe:[11402538]
> lr-x------  1 root   root   64 Jul 19 17:19 13 -> pipe:[11402544]
> l-wx------  1 root   root   64 Jul 19 17:19 14 -> pipe:[11402546]
> lr-x------  1 root   root   64 Jul 19 17:19 15 -> pipe:[11402545]
> lr-x------  1 root   root   64 Jul 19 17:19 16 -> pipe:[11402547]
> l-wx------  1 root   root   64 Jul 19 17:19 17 -> pipe:[11402549]
> lr-x------  1 root   root   64 Jul 19 17:19 18 -> pipe:[11402548]
> lr-x------  1 root   root   64 Jul 19 17:19 19 -> pipe:[11402550]
> lrwx------  1 root   root   64 Jul 19 17:19 2 -> /dev/null
> lr-x------  1 root   root   64 Jul 19 17:19 21 -> pipe:[11402551]
> lrwx------  1 root   root   64 Jul 19 17:19 3 -> socket:[11402510]
> lr-x------  1 root   root   64 Jul 19 17:19 4 -> pipe:[11402512]
> l-wx------  1 root   root   64 Jul 19 17:19 5 -> pipe:[11402512]
> lrwx------  1 root   root   64 Jul 19 17:19 6 -> socket:[11402515]
> lr-x------  1 root   root   64 Jul 19 17:19 7
> -> /usr/share/perl5/File/Scan.pm
> l-wx------  1 root   root   64 Jul 19 17:19 9 -> pipe:[11402536]
> 

Now You see I think its Mimedefangs own open File::Scan causing this
warning.  Whats the fix for the annoyance?

Thanks,

Kayne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20060719/69511649/attachment.sig>


More information about the MIMEDefang mailing list