Frist of all, thank you very much. It won't work for me with following log:

ERR:_authdaemon:_s_connect()_failed:_Permission_denied//usr/local/bin/maildr
op:_Temporary_authentication_failure./

After taking a look to man of maildrop, the -f and -d option, they may not
suitable to me and I amend the spam command to "|preline
/usr/local/bin/maildrop". After complie qmailadmin
with --enable-modify-spam --enabe-spam-command --enable-spamcmd-needs-email.
The .qmail file look like "|preline /usr/local/bin/maildrop
[EMAIL PROTECTED]". However, it still not work with following log:

deferral: /usr/local/bin/maildrop:_Unable_to_open_filter_file,_errno=2./

It seems maildrop doesn't know where the mailfilter file is even append
email address, right? Any comment is appreciated.

Frankie

----- Original Message ----- 
From: "Dave Steinberg" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 20, 2008 10:22 PM
Subject: Re: [qmailadmin] Something about spam command


> Frankie Wong wrote:
> > I use serversidefilter plugin of squirrelmail to create mailfilter in
> > user's mailbox, content in .qmail file of individual user like this:
> >
> > |preline /usr/local/bin/maildrop
> > /home/vpopmail/domains/mydomains.com/mailuser/Maildir/mailfilter
> >
> > Since mailfilter files in different domains of different users are
> > different. How can I set enable-spam-command work together with it ?
> > or let qmailadmin recongnize any line beginning with "|preline" to be
> > the default delivery path and won't add additional delivery path to
> > .qmail file when user set vacation or save a copy of forward?
>
> I do the same thing, but my .qmail file looks like:
>
> |preline -f /usr/local/bin/maildrop -d [EMAIL PROTECTED]
>
> If you can make that format work for you, you can try the
> '--enable-spamcmd-needs-email' flag in addition to the
> --enable-spam-command option.  It was written for exactly this problem.
>
> Regards,
> -- 
> Dave Steinberg
> http://www.geekisp.com/
> http://www.steinbergcomputing.com/
>
> 
>
>


!DSPAM:47bc3ec4310548194511464!

Reply via email to