Iain wrote: > Hi, > > I have been using maildrop to filter spam by using the following in > .qmail-default for each domain: > >> preline /usr/bin/maildrop /etc/spamassassin/mailfilter > > I have included the mailfilter at the end of this email. > > However when I set this up I found that SQL based aliases stopped > working. Email sent to these alias addresses goes to a black hole. > > This is with vpopmail 5.3.18. Any ideas as to what could be causing > this?
Did you rebuild vpopmail between when it worked and when it stoped? Is /home/vpopmail/bin/vdelivermail the correct path? If the answers are No and Yes respectively, you might need to escape the '' in the VPOP line. Try making the VPOP line this: VPOP="| /home/vpopmail/bin/vdelivermail \'\' bounce-no-mailbox" Also, double check the logic of the conditionals in your mailfilter. I haven't had a chance to pull it apart, but it doesn't "look right" > > cheers, Iain. > Dave