On Tuesday 21 Feb 2006 19:24, wtechgroup wrote: > My .qmail-default file says: > | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox > > I thought that mailfilter works but I actually didn't get any emails for a > little bit there. I disabled it and started receiving email again.
the mailfilter I posted earlier was designed to be instigated from a .qmail file inside the users dir, to make it work in .qmail-default you would have to put the full path to Maildir/ > > Ryan > > -----Original Message----- > From: Bob Hutchinson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 2:05 PM > To: toaster@shupp.org > Subject: Re: [toaster] Message Quarantine > > On Tuesday 21 Feb 2006 18:54, wtechgroup wrote: > > That works, but what is making the emails move on the default > > installation? > > > When I had a default toaster installation, emails still moved to the > > postmaster account on their own and those emails were always spam. > > .qmail-default was most likely pointed to postmaster > > > Ryan > > > > On Tuesday 21 Feb 2006 12:51, wtechgroup wrote: > > > Hello everyone, > > > > > > > > > > > > I've been using the toaster for about a year and a half now > > > with absolutely no complaints. After that long on the net however, my > > > server is finally starting to receive a fair amount of spam. According > > to > > > > everything I've read, spamassassin does not quarantine or delete > > > messages. I've researched this for several days and I'm still puzzled > > why > > > > some > > > > emails > > > > > that are spam get sent to the postmaster account on a domain and some > > > just get tagged as spam and go through to the user. I have our spam > > rules > > > locked > > > > > in pretty tight and I've never had complains from my customers, but I'd > > > like to have all tagged messages go to the respective postmaster > > accounts > > > > for each domain. Most of the messages that come through to the user > > > that are tagged are above 10. What is grabbing certain spam messages > > > and moving them to the postmaster accounts? How can I make all tagged > > > messages go to the postmaster account? > > > > This is copied from an email on the vchkpw list: > > > > You would probably want to use maildrop to do this. You could do it at > > a domain level or user level. > > > > In a user .qmail or the domain .qmail-default, you'd call maildrop > > > > |maildrop mailfilter > > > > Then you'd have a mailfilter file, in the same directory as the .qmail > > file, that looks similar to this: > > > > <snip> > > import EXT > > import HOST > > import HOME > > import FROM > > > > MAILDIRQUOTA=`~vpopmail/bin/vuserinfo -q [EMAIL PROTECTED] > > > > if ((/^X-Spam-Flag:.*YES/)) > > { > > `test -d ./Maildir/.SPAM` > > if( $RETURNCODE == 1 ) > > { > > `maildirmake ./Maildir/.SPAM;chown -R vpopmail.vchkpw > > ./Maildir/.SPAM` > > } > > to "./Maildir/.SPAM/" > > } > > > > to "./Maildir/" > > > > > > </snip> > > > > I'm not totally sure about doing it in the .qmail-default. I think you > > could and then if the mail isn't spam, just don't do anything with the > > message. In that case, the call to vdelivermail should be called as > > normal and deliver the message. > > > > I prefer to filter per user and then have my users access their > > potential spam via webmail. Seems to be working for me. My users like > > not getting tons of junk that they have to download and delete anyway. > > I also have scripts that clean all tagged messages older than 7 days. > > That way if a user doesn't want to, they don't have to check their spam > > on the server and the server drives don't overflow with junk. :) > > > > > Thanks, > > > > > > Ryan -- ----------------- Bob Hutchinson Midwales dot com -----------------