Re: Disallowed attachment not found

Salvatore Toribio <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <a06240808c29fff122e3e@[10.0.1.2]>
At 15:49 +0800 21-06-2007, Kenny Lee wrote:
>Hi Widya,
>
>hope my solution able to settle your problem ...
>
>normally the quarantined mails will be kept in 
>/var/spool/qscan/quarantine/policy/new (which default by system)
>
>then i will create an email 
>address <mailto:[email protected]>[email protected] to take care 
>those junk mails ...
>
>vi /usr/bin/clrmail (create a execute file in bin)
># move all junk mails to <mailto:[email protected]>[email protected]
>mv /var/spool/qscan/quarantine/policy/new/* 
>/home/vpopmail/domains/yourdomain.com/mis/Maildir/cur
>chown -R vpopmail.vchkpw /home/vpopmail/domains/yourdomain.com/mis/Maildir/cur
>
>save it, chmod it to 755 and run it
>
>ok .. now all junk mails will flow into your 
><mailto:[email protected]>[email protected] , and you can check 
>the attachment there ...
>you can set it to crontab, so system will run the file everyday ...
>
>crontab -e
>
>0 0 * * * /usr/bin/clrmail
>
>save it and quit ...
>
>Regards,

You can do what Kenny suggest or you can just resend the message to 
you with qmail-inject, for example:

/var/qmail/bin/qmail-inject [email protected] < 
/var/spool/qscan/quarantine/spam/new/apo146.pusc.it118238899180810903

Be aware that what you see above is only in one line...

Regards

ST

>----- Original Message -----
>From: <mailto:[email protected]>widyachacra
>To: <mailto:[email protected]>Salvatore Toribio
>Cc: 
><mailto:[email protected]>[email protected]
>Sent: Thursday, June 21, 2007 03:20 PM
>Subject: Re: [Qmail-scanner-general] Disallowed attachment not found
>
>Dear Salvatore,
>
>yes, u correct but how to access to the attachments?
>
>On 6/21/07, Salvatore Toribio 
><<mailto:[email protected] >[email protected] > wrote:
>
>At 9:57 +0600 21-06-2007, widyachacra wrote:
>
>>Dear friends,
>>
>>I can't retrieve blocked attachment from below path. Its empty. how 
>>to setup it? please guide me.
>>
>---perlscanner results ---
>Disallowed attachment type 'Non-Productive files not allowed per 
>Company security
>
>policy' found in file 
>/var/spool/qmailscan/tmp/ns1118237889371816000/how to put on a
>
>bra.wmv
>
>---
>
>
>
>
>You should find the quarantine path above that text in the mail 
>report, like this:
>
>---
>
>The original message is kept in:
>
> 
>apo146.pusc.it:/var/spool/qscan/quarantine/spam/new/apo146.pusc.it118238899180810903
>
>where the Antivirus PUSC-146 can further diagnose it.
>
>---

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.