Op 25-8-2011 16:57, Jeremy McSpadden schreef: > > root@smtp3:/etc/postfix# MailScanner --debug > > In Debugging mode, not forking... > > Trying to setlogsock(unix) > > Building a message batch to scan... > > Have a batch of 1 message. > > Insecure dependency in open while running with -T switch at > /usr/lib/perl/5.10/IO/File.pm line 63, <$fh> line 80. > > Insecure dependency in open while running with -T switch at > /usr/lib/perl/5.10/IO/File.pm line 63. > > Insecure dependency in open while running with -T switch at > /usr/lib/perl/5.10/IO/File.pm line 63. > > LibClamAV Error: cli_scanhtml: Can't create temporary directory > /var/spool/MailScanner/incoming/SpamAssassin-Temp/fileIEFHNs/clamav-596cfc34100521b63c54794a71239b21 > > Insecure dependency in open while running with -T switch at > /usr/lib/perl/5.10/IO/File.pm line 63. > > Insecure dependency in chown while running with -T switch at > /usr/share/MailScanner//MailScanner/Message.pm line 1381. > > Insecure dependency in chown while running with -T switch at > /usr/share/MailScanner//MailScanner/Message.pm line 1381. > > Insecure dependency in chown while running with -T switch at > /usr/share/MailScanner//MailScanner/Message.pm line 1381. > > Insecure dependency in open while running with -T switch at > /usr/lib/perl/5.10/IO/File.pm line 66. > > Insecure dependency in open while running with -T switch at > /usr/lib/perl/5.10/IO/File.pm line 63. > > Insecure dependency in open while running with -T switch at > /usr/lib/perl/5.10/IO/File.pm line 63. > > Stopping now as you are debugging me. > > Running Ubuntu Natty > > -- > > Jeremy McSpadden > > Flux Labs, Inc > > http://www.fluxlabs.net <http://www.fluxlabs.net/> > Endless Solutions > > *Office* : 850-588-4626 > > *Cell* : 850-890-2543 > *Fax* : 850-254-2955 > > > > _______________________________________________ > Baruwa mailing list > [email protected] > http://lists.baruwa.org/mailman/listinfo/baruwa > Keep Baruwa FREE - http://pledgie.com/campaigns/12056 It looks like clamav runs as a differen user than MailScanner, and therefor has no access to the /var/spool/MailScanner/incoming folder.
You could try elevating the privileges to 777 for /var/spool/MailScanner/incoming (JUST FOR TEST). If it works that way, you know you have an permission issue. After the test put the permissions back as they were. What are the permissions on /var/spool/MailScanner/incoming/ Can you do cd /var/spool/MailScanner ls -al and psot the output here I always run clamav as the postfix user. this way it has access. regards Johan Hendriks -- _______________________ *Johan Hendriks* *Schavemaker Transport* Tel:+31 (0)251 229098 Fax:+31 (0)251 212016 email:[email protected] <mailto:[email protected]> web:http://www.schavemaker.com _______________________ /Confidentiality Notice: The information in this document may be confidential. It is intended only for the use of the named recipient. If you are not the intended recipient, please notify me immediately and then delete this document. Do not disclose the contents of this document to any other person, nor take any copies. Violation of this notice may be unlawful. / _______________________ _______________________________________________ Baruwa mailing list [email protected] http://lists.baruwa.org/mailman/listinfo/baruwa Keep Baruwa FREE - http://pledgie.com/campaigns/12056

