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:qmail-scanner-general@lists.sourceforge.net>qmail-scanner-general@lists.sourceforge.net
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
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to