Thanks for the support,

 

I Solved the problem commentino the lines concerning zip files on /var/qmail/control/signatures.

 

But How Q-S works directly with qmail control file?

I have another machine with Q-S 1.22 and the file /var/qmail/control/signatures is the same without zip’s line commented. It works correctly without any problem.

 

I checked the lines $VALID_WINDOWS_EXTENSIONS and $SNEAKY_WINDOWS_EXTENSIONS, but Q-S works only if I comment line in qmail segnatures file.

In my qmail-queue.log appear this lines when signatures file is uncommented and I recive a mail with zip attachment

 

 Sat, 19 Mar 2005 01:07:15 CET:6385: d_m: finished /usr/bin/reformime  -x/var/spool/qmailscan/tmp/mail.red-fenix.net11111908354946385/ [0.007511]

Sat, 19 Mar 2005 01:07:15 CET:6385: d_m: Checking all attachments to see if they're MS-TNEF

Sat, 19 Mar 2005 01:07:15 CET:6385: d_m: is /var/spool/qmailscan/tmp/mail.red-fenix.net11111908354946385/1111190835.6387-0.mail.red-fenix.net is a TNEF file?: 256 [0.002722]

Sat, 19 Mar 2005 01:07:15 CET:6385: d_m: is /var/spool/qmailscan/tmp/mail.red-fenix.net11111908354946385/1111190835.6387-1.mail.red-fenix.net is a TNEF file?: 256 [0.002467]

Sat, 19 Mar 2005 01:07:15 CET:6385: d_m: unpacking message took 0.012965 seconds

Sat, 19 Mar 2005 01:07:15 CET:6385: unsetting QMAILQUEUE env var

 

 

Thanks a lot again

 

Luca

 


Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di R.Md.Munibuddin
Inviato: sabato 19 marzo 2005 7.46
A: Luca Maltese; qmail-scanner-general@lists.sourceforge.net
Oggetto: Re: [Qmail-scanner-general]How to define attachment's blocking

 

Hi,

        I am cutting and pasting from previous posts.

-----------------------------------------------------------------------------------------------------------------

"Tank you very much, you were absolutely right. I commented the lines
concerning zip files on /var/log/qmail/control/signatures and everything is
working now."

-------------------------------------------------------------------------------------------------------------------

>>We've just install qmail-scanner+clamav in a mail server running Qmail
>>Toaster's packages, everything is aparently running OK, except by the fact
>>that all mail with attachments are being bloqued. We need to enable deliver
>>for mails with zip, doc, xls, txt extensions.
>>
>>We've already tried to edit qmail-scanner-queue.pl and add this extensios
>>on my $VALID_WINDOWS_EXTENSIONS as well as remove them from my
>>$SNEAKY_WINDOWS_EXTENSIONS, but still dosen't work.
>>
>>
>>Are we losing something here? Any ideas?
>>
>>Tanks for all in advance.
>>

What exactly do you have in quarantine-attachments.txt?  Also note that
if you have my $force_unzip=1; in qmail-scanner-queue.pl, it will block
emails that have disallowed attachments even if they are in an attached
zip file.  For example, if you block .exe files, even if you have one in
a .zip file, it will still block it.  If this is set to 0, QS will not
behave this way.
-------------------------------------------------------------------------------------------------------------------------------------------------

I forgot mentioning, I already tried to
edit /var/spool/qmailscan/quarantine-attachments.txt and rebuild de database
but it dosen't work.

The error I receive is

The server responded: "we don't accept email with executable content
(#5.3.4)".

We made some changes, and doc, xls, and other type of files, are
passing ok, however zip files, don't. And we need to enable zip files. I
tried everything I could for this to work, now I really really need some
help.
--------------------------------------------------------------------------------------------------------------------------------------------------

 

Hope this helps you.

 

Regards,

Munib

Hi list,

 

With Q-S 1.25 when I can’t recive messages with attachments like .zip or .exe because it is rejected

I try to check qmail-attachements.txt and rebuild DB but it doesn’t work.

 

How can I permit .zip files within executables? How can i manage this functi

Reply via email to