Re: Disallowed attachment not found

"Kenny Lee" <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <008f01c7b3d8$af1d9d90$3ca8a8a8@SERVER>
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 [email protected] to take care those junk mails ... 

vi /usr/bin/clrmail (create a execute file in bin)
# move all junk mails to [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 [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,
Kenny


  ----- Original Message ----- 
  From: widyachacra 
  To: Salvatore Toribio 
  Cc: [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 <[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.

    ---


    Regards


    ST



  -- 
  ---

  - Widyachacra Rajapaksha - 


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


  -------------------------------------------------------------------------
  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

-------------------------------------------------------------------------
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.