Your example give me hint to amend user.c of qmailadmin. After I change the
line #952 from

fprintf(fs, "%s [EMAIL PROTECTED]", SPAM_COMMAND, ActionUser, Domain);

to

fprintf(fs, "%s /home/vpopmail/domains/%s/%s/Maildir/mailfilter\n",
SPAM_COMMAND, Domain, ActionUser);

and recomplie it again, it works.

Thank you

Frankie

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


> 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:47bc43d6310544814414524!

Reply via email to