<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head><div class="gmail_quote">Danilo Marques de Gouveia <dm.gouveia@gmail.com> ha scritto:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
WOW !!! That worked !!!<div><br></div><div>Thanks for the help man, let me ask you somthing, I do have another server that doesn't show up this error, I'm wondering if we are getting this error because we got any perl updates or even a new version of anything else.</div>
<div><br></div><div>Thanks in advance<br><br><div class="gmail_quote">On Thu, May 5, 2011 at 12:58 PM, Alessandro Bianchi <span dir="ltr"><<a href="mailto:alex@skynet-srl.com">alex@skynet-srl.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote">Danilo Marques de Gouveia <<a href="mailto:dm.gouveia@gmail.com" target="_blank">dm.gouveia@gmail.com</a>> ha scritto:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div><div></div><div class="h5">
Hi Alessandro,<div><br></div><div>I'm getting the same issue that you got, when I run the mailscanner in debug mode I got the error:</div><div><br></div><div><div>In Debugging mode, not forking...</div><div>Trying to setlogsock(unix)</div>
<div>Building a message batch to scan...</div><div>Insecure dependency in open while running with -T switch at /usr/share/MailScanner//MailScanner/Lock.pm line 358.</div><div> [fail]</div>
<div>root@mx:/var/spool/postfix/active#</div><div><br></div><div>In the list you wrote that you changed the /usr/sbin/MailScanner and added the -U option ... I didn't get this part, which change you did?</div><div><br>
</div><div>If you could help me with this issue I would be very pleased since I'm fighting agains my MS server for two days :(</div><br><div class="gmail_quote">On Wed, Apr 20, 2011 at 7:48 AM, Alessandro Bianchi <span dir="ltr"><<a href="mailto:alex@skynet-srl.com" target="_blank">alex@skynet-srl.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks<br>
<br>
I discovered that the problems that forced me to run MS as root were originated by taint mode errors.<br>
<br>
Something has happened on my Fedora 14 Systems so that MS spits a load of taint errors and dies.<br>
<br>
Here there are some of them:<br>
<br>
/usr/lib/MailScanner/MailScanner/Lock.pm line 358<br>
/usr/lib/MailScanner/MailScanner/Message.pm line 538<br>
Insecure dependency in chown while running with -T switch at /usr/lib/MailScanner/MailScanner/Message.pm line 1381.<br>
/usr/lib/MailScanner/MailScanner/Message.pm line 2418<br>
<br>
/usr/lib/MailScanner/MailScanner/PFDiskStore.pm line 173<br>
/usr/lib/MailScanner/MailScanner/PFDiskStore.pm line 176.<br>
/usr/lib/MailScanner/MailScanner/PFDiskStore.pm line 379<br>
/usr/lib/MailScanner/MailScanner/Quarantine.pm line 189<br>
<br>
<br>
Can't call method "print" on an undefined value at /usr/lib/MailScanner/MailScanner/PFDiskStore.pm line 752.<br>
Can't call method "CombineReports" on unblessed reference at /usr/lib/MailScanner/MailScanner/MessageBatch.pm line 736.<br>
<br>
Insecure dependency in open while running with -T switch at /usr/lib64/perl5/IO/File.pm line 185.<br>
Insecure dependency in mkdir while running with -T switch at /usr/lib/MailScanner/MailScanner/TNEF.pm line 233.<br>
Insecure dependency in mkdir while running with -T switch at /usr/lib/MailScanner/MailScanner/TNEF.pm line 236.<br>
Insecure dependency in open while running with -T switch at /usr/share/perl5/File/Copy.pm line 246.<br>
<br>
The synptom is MS starting and restarting over and over again in the logs.<br>
<br>
I begun to follow the errors using the --debug switch, and fixed some of them, until I came to errors in files that appear to be System libraries (p.e. /usr/share/perl5/File/Copy.pm ).<br>
<br>
Furthermore running as root prevented Postfix from picking up files from the incoming directory and that leaded me to a non functional mail system: so I had to go back to running MS as postfix user and avoinding fatal taint errors.<br>
<br>
Till now, after several hours, the only way I found to run MS , is adding the -U switch in the showbang line in /usr/sbin/MailScanner.<br>
<br>
This switch, to my understanding, turns fatal taint errors in warning, but I'm still looking for a definitive fix.<br>
<br>
Hope to save some night work hours to someone else with this info.<br>
<br>
Best regards<br>
<br>
Alessandro Bianchi<br>
<br>
-- <br>
Il messaggio e' stato analizzato alla ricerca di virus o<br>
contenuti pericolosi da SkyNet SRL, ed e'<br>
risultato non infetto.<br><font color="#888888">
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website! </font></blockquote></div><br><br clear="all"><br>-- <br>Danilo Marques de Gouveia<br>
</div>
<br>--
<br>Il messaggio e' stato analizzato alla ricerca di virus o
<br></div></div>contenuti pericolosi da
<a href="http://www.skynet-srl.com/" target="_blank"><b>SkyNet Srl</b></a>, ed e'
<br>risultato non infetto.
</blockquote></div><br clear="all">Just edit your MS executable ( should be something like /sbin/MailScanner but I'm out of office right now) and at the end of the first line add "-U" (without quotes).<br>
<br>
This should do the trick.<br>
<br>
Tell me if it is Ok.<br>
<br>
Best regards<br>
-- <br>
Skynet srl - Via Maggiate 67/a - Borgomanero (NO)<br>
Tel +39 0322 836487 - Fax +39 0322 836608<br>
<a href="http://www.skynet-srl.com" target="_blank">www.skynet-srl.com</a><br>
<br>
Inviato dal mio tablet Android<div class="im"><br>--
<br>Il messaggio e' stato analizzato alla ricerca di virus o
<br></div>contenuti pericolosi da
<a href="http://www.skynet-srl.com/" target="_blank"><b>SkyNet Srl</b></a>, ed e'
<br>risultato non infetto.
</blockquote></div><br><br clear="all"><br>-- <br>Danilo Marques de Gouveia<br>
</div>
<br />--
<br />Il messaggio e' stato analizzato alla ricerca di virus o
<br />contenuti pericolosi da
<a href="http://www.skynet-srl.com/"><b>SkyNet Srl</b></a>, ed e'
<br />risultato non infetto.
</blockquote></div><br clear="all">Happy it did!<br>
<br>
It seems to be related to perl update.<br>
<br>
Which distro are you running?<br>
-- <br>
Skynet srl - Via Maggiate 67/a - Borgomanero (NO)<br>
Tel +39 0322 836487 - Fax +39 0322 836608<br>
www.skynet-srl.com<br>
<br>
Inviato dal mio tablet Android<br />--
<br />Il messaggio e' stato analizzato alla ricerca di virus o
<br />contenuti pericolosi da
<a href="http://www.skynet-srl.com/"><b>SkyNet Srl</b></a>, ed e'
<br />risultato non infetto.
</html>