Discussion:
Insecure dependency in open while running with -T switch at /usr/lib64/perl5/IO/File.pm line 185
Chris Twinn
2014-04-09 20:05:08 UTC
Permalink
Hi,

Fresh MailScanner 4.84.6 is failing to do pretty much anything with messages (except rewrite subject).

I followed this old message:http://lists.mailscanner.info/pipermail/mailscanner/2006-May/061477.html
[Quote]
* Shutdown MailScanner and your MTA
* Start only your incoming MTA. This is usually done by the command |service MailScanner startin| on Redhat. Other distros/OS may vary
* Set ?Debug = yes? and ?Debug SpamAssassin = yes? in MailScanner.conf, then run ?check_MailScanner?.
* Watch carefully the output for error messages and fix what you can fix.
[/Quote]

Which then fails with:
20:14:03 Building a message batch to scan...
20:14:03 Have a batch of 2 messages.
20:14:14 Insecure dependency in open while running with -T switch at /usr/lib64/perl5/IO/File.pm line 185.
Failed.

maillog has
maillog:Apr 9 20:14:14 centos65 MailScanner[14512]: Spam Checks: Found 1 spam messages
maillog:Apr 9 20:14:14 centos65 MailScanner[14512]: Non-delivery of spam: message BEADFC1A94.AF100 from to abc at domain.uk with subject Be
maillog:Apr 9 20:14:14 centos65 MailScanner[14512]: Spam Actions: message BEADFC1A94.AF100 actions are store

MailScanner - v gives CentOS release 6.5 (Final) [Note this is a virgin at 6.5 install, not 6.x upgrade], Perl version 5.010001 (5.10.1), MailScanner version 4.84.6

I have SELinux enabled but disabling does not appear to make any difference.
20:50:47 Apr 9 20:50:47.345 [16515] dbg: locker: safe_unlock: unlocked /var/spo l/postfix/.spamassassin/bayes.mutex
20:50:47 Apr 9 20:50:47.345 [16515] dbg: learn: initializing learner
20:50:47 Insecure dependency in open while running with -T switch at /usr/lib64/ erl5/IO/File.pm line 185.
Failed.

Can anyone guide me where to look for a cure to "Insecure dependency in open while running with -T switch at /usr/lib64/perl5/IO/File.pm line 185."
or which files would help?

Many Thanks

Chris
Stef Morrell
2014-04-10 09:17:14 UTC
Permalink
Hi Chris,
Post by Chris Twinn
Fresh MailScanner 4.84.6 is failing to do pretty much anything with
messages (except rewrite subject).
20:14:03 Building a message batch to scan...
20:14:03 Have a batch of 2 messages.
20:14:14 Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Failed.
Have you added a -U to the shebang line of the main mailscanner script?

That's quite an old problem, see the archives for details.

Stef
Chris Twinn
2014-04-10 20:20:26 UTC
Permalink
Thanks Stef, worked a charm.
Post by Stef Morrell
Hi Chris,
Post by Chris Twinn
Fresh MailScanner 4.84.6 is failing to do pretty much anything with
messages (except rewrite subject).
20:14:03 Building a message batch to scan...
20:14:03 Have a batch of 2 messages.
20:14:14 Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/IO/File.pm line 185.
Failed.
Have you added a -U to the shebang line of the main mailscanner script?
That's quite an old problem, see the archives for details.
Stef
Loading...