Following up my previous message: > The issue is not with detecting viruses in tnef encoded files. The tnef > unpacker has been detected OK by the installer. > > What I would like is that email messages which have the WINMAIL.DAT > attachments get stripped of their non-standard M$ cruft so they can be read > by other email clients. > > I believe this requires modification of the original email message as it > passes through the scanner and which I would like to use tnefclean.pl for.
Having thought about this some more, searched the archives and read a post by Salvatore Toribio, I have come up with the following idea. Can anyone comment on the merits of this possible solution: Instead of messing with the mail on the way in via the QMAILQUEUE variable, I wait until qmail-scanner has processed the message and clean it up on the way out. First I modify qmail-scanner-queue.pl to change the $qmailqueue variable: my $qmailqueue = '/var/qmail/bin/qmail-qfilter' This should pass the outgoing scanned mail through to qmail-qfilter, is that correct ? (qmail-qfilter handles the necessary file descriptors and pipes I believe) If I then configure qmail-qfilter to run tnefclean.pl and then send the output of that to /var/qmail/bin/qmail-queue, then normal delivery will occur ? I hope I've understood the processes involved. Please correct me if I've misunderstood anything. This is a production server I'm dealing with and my clients are slowly moving away from Outlook but the WINMAIL.DAT attachments are proving to be an obstacle. Thanks for your help. Jeremy ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general