deferral: maildrop:_Missing_',_",_or_`./mailfilter(3):_Syntax_error./
I am pretty sure maildrop is installed:
# maildrop -v maildrop 1.5.2 Copyright 1998-2003 Double Precision, Inc. GDBM extensions enabled. Maildir quota extension enabled. Virtual user database extension enabled. This program is distributed under the terms of the GNU General Public License. See COPYING for additional information.
Also, my home folders are in the format /home/dom/mogmail.net/users/nick so I guess I need to change:
MAILDIR="$HOME/Maildir" to MAILDIR="users/$EXT" is that correct?
Thanks for putting the script on line by the way, should be excellent when it all gets working!
Regards, Nick
---------------ORIGINAL MESSAGE------------------- Your .qmail-default would have: |preline maildrop /etc/mailfilter
Then /etc/mailfilter something like:
VERBOSE=0 SHELL="/bin/sh" PATH="/usr/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:/u sr/sbin" MAILDIR="$HOME/Maildir" SPAMDIR="$MAILDIR/.Spam" DEFAULT="$MAILDIR" # If Spamfilter is enabled then run the following: if ( /^X-Spam-Status: Yes/:h ) { # This spam is to be disposed of `/usr/bin/test -d $SPAMDIR/new` if ( $RETURNCODE == 1 ) { # Oops. No Spamdir so lets make one. echo "Maildrop: No Spamdir so lets make one" `/usr/local/bin/maildirmake -f Spam $MAILDIR` if ( $RETURNCODE == 1 ) { # If for some unknown reason maildirmake fails then just deliver it echo "Maildrop: maildirmake failed - deliver normally" to "$DEFAULT" } } exception { to "$SPAMDIR" } } else { exception { to "$DEFAULT" } }
--- Ed Henderson, Managing Partner Certainty Tech http://www.certainty.net/
> -----Original Message----- > From: Zachary Denison [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 5:04 PM > To: CertaintyTech-Ed; [EMAIL PROTECTED] > Subject: RE: [Qmail-scanner-general]seperate folder junkmail, > why so difficult? > > > Thanks very much. Is there someplace I can RTFM about > this - I am assuming I would have to setup qmail to > deliver to a program (i.e. deliveryProgramPath to > /path/to/maildrop plus some arguments) and then set > the deliveryMode to nolocal so maildrop would be the > only agent. Is this on the right track ? > > > > > --- CertaintyTech-Ed <[EMAIL PROTECTED]> > wrote: > > > >Thanks so much! This is exactly what I was > > looking > > > >for! Is it possible to have spam moved to each > > users > > > >junkmail directory instead of a general > > quarantine > > > >folder? > > > > > > Sorry, no. This works before the user delivery. > > > > > > ST > > > > > > > This can be accomplished easily during user delivery > > using procmail or > > maildrop. I personally use maildrop. Just look for > > the "X-Spam-Status: > > Yes" header and deliver message to their personal > > Spam directory > > otherwise deliver normally. > > > > Ed. > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > > President and CEO of > > GenToo technologies. Learn everything from > > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Qmail-scanner-general mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html >
------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general