[toaster] Qmail-Scanner you can try [WWW] Mailparser by Eric Bambach

2008-06-26 Thread Newbie Qmail
Hi 
I tried deleting the spam mails by referring this 
article,http://wiki.apache.org/spamassassin/DeletingAllMailsMarkedSpam
after compilation of mailparser i copied the mailparser file in qmail/bin 
folder and made chmod u+s qmail-queue
but still i am getting the following error
/var/qmail/bin/qmail-queue: /var/qmail/bin/qmail-queue: Permission denied
reference from that article

If you don't want the full Qmail-Scanner you can try  Mailparser by Eric 
Bambach. Originally a very lightweight C program but now (9/14/2007) 
re-implemented in perl it will drop any message that has X-Spam-Flag: YES in 
the header. 
Rename /var/qmail/bin/qmail-queue to qmail-queue.orig and add it to the 
delivery queue after SpamAssassin. 
Example /var/qmail/bin/qmail-queue file 
 #!/bin/bash
 /usr/bin/spamc | /var/qmail/bin/mailparser | /var/qmail/bin/qmail-queue.orig

can someone pls guide me howto achive this goal?
kavitha


  

Re: [toaster] Qmail-Scanner you can try [WWW] Mailparser by Eric Bambach

2008-06-26 Thread Maciej Sołtysiak

Hi,

I guess you don't have the 'execute' bit set.
try:
chmod u+x /var/qmail/bin/qmail-queue

Also ensure that other files you are executing within qmail-queue have 
this set on too, check that

/var/qmail/bin/mailparser and /var/qmail/bin/qmail-queue.orig

Note that I haven't used mailparser, I'm just guessing.

Good luck,
Maciej



Newbie Qmail pisze:

Hi
 
I tried deleting the spam mails by referring this 
article,http://wiki.apache.org/spamassassin/DeletingAllMailsMarkedSpam
after compilation of mailparser i copied the mailparser file in 
qmail/bin folder and made chmod u+s qmail-queue

but still i am getting the following error
/var/qmail/bin/qmail-queue: /var/qmail/bin/qmail-queue: Permission denied
 
reference from that article



If you don't want the full Qmail-Scanner you can try [WWW] Mailparser 
http://www.cisu.net/blog/?page_id=5 by Eric Bambach. Originally a 
very lightweight C program but now (9/14/2007) re-implemented in perl 
it will drop any message that has X-Spam-Flag: YES in the header.


Rename /var/qmail/bin/qmail-queue to qmail-queue.orig and add it to 
the delivery queue after SpamAssassin 
http://wiki.apache.org/spamassassin/SpamAssassin.


Example /var/qmail/bin/qmail-queue file

 #!/bin/bash
 /usr/bin/spamc | /var/qmail/bin/mailparser | /var/qmail/bin/qmail-queue.orig

 
can someone pls guide me howto achive this goal?
 
kavitha