The Network People Support Forums

Mail::Toaster => Upgrading a Mail::Toaster => Topic started by: sbhasin on January 19, 2006, 12:59:23 AM

Title: Spam messages delivery
Post by: sbhasin on January 19, 2006, 12:59:23 AM
Hello,

I've recently upgraded maildrop and it appears to have broken the part that takes care of delivering the messages marked as spam in to the Spam folder. All messages are still being marked spam, with the correct headers, but they are being dropped in the Inbox instead of the Spam folder.

Any tips or ideas on where I should start investigating? Thanks for the help.
-Saurabh
Title: Re: Spam messages delivery
Post by: scott on January 21, 2006, 09:30:35 PM
I was setting up a new toaster on FreeBSD 6.0 and had the same problem.

Apparently the new port of maildrop (2.0) is the culprit. It has a new regex engine that uses the PCRE library and causes some issues with the /usr/local/etc/mail/mailfilter file that is installed by toaster_setup.pl.

I added this line to /usr/local/etc/mail/mailfilter (near the top) and it did the trick:
MAILDROP_OLD_REGEXP='1'

This switch forces maildrop to use the old regex syntax. Be careful though, mailfilter is a file that is automatically generated by toaster_setup -s maildrop.

Very Happy
Title: Re: Spam messages delivery
Post by: sbhasin on January 21, 2006, 09:48:57 PM
I appreciate the tip. This seems to have resolved the issue. Hopefully Matt can release a permanent fix so the toaster_setup file does not overwrite it. For now, all's well. Thanks again.