I'd focus on where the problem manifests itself.
If at some point you get a permission denied, start fixing there. Maybe
the files that are being executed
need more permissions. My qmail-queue looks like this:
-rws--x--x 1 qmailq qmail 16420 2007-11-15 16:09 qmail-queue
However it's not used directly because I'm running simscan. This one has:
-rws--x--x 1 clamav root 31624 2007-11-15 16:07 simscan
Maybe you either need a proper owner or +x for group and others ?
Newbie Qmail pisze:
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
<mailto:[EMAIL PROTECTED]> /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
>