Thanks maciej soltysiak i tried bu no luck by anychance condredirect will work? example i tried in my maildir created .qmail file and inserted thebelow mentioned lines? but it doesnt show any error rather it doesnt deliver mail to my mail box? |/var/qmail/bin/condredirect admin-junkmail @ mydomain.com /bin/grep '^X-Spam-Flag: YES'
pls help me to get rid of these spams sir ----- Original Message ---- From: Maciej Sołtysiak <[EMAIL PROTECTED]> To: toaster@shupp.org Sent: Friday, June 27, 2008 10:06:41 AM Subject: Re: [toaster] Qmail-Scanner you can try [WWW] Mailparser by Eric Bambach 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 >