Hello,
I am currently a happy maildrop(postfix, courier-imap, mysql) user, it is
scanning my emails with spamassassin and if the email contains spam it will
be moved to the users .Spam folder. Now am I listed in some mailing lists,
so I want to move the mailings to a different folder like .FreeBSD. The
problem is that maildrop will move the spam but not the mailing list emails.
Attached is /etc/maildroprc and the source of the email.
I hope any of you could help me.
Thanks in advance,
Regards,
Matthijs Breemans
/etc/maildroprc:
if ( $SIZE < 26144 )
{
exception {
xfilter "/usr/bin/spamassassin"
}
}
if (/^X-Spam-Flag: *YES/)
{
exception {
to "$HOME/$DEFAULT/.Spam/"
}
}
if (/^List-Post:.*freebsd*/ )
{
exception {
to "$HOME/$DEFAULT/.FreeBSD/"
}
}
Here is a sample of the email source:
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe:
<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
<mailto:free...@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:free...@freebsd.org>
List-Help: <mailto:free...@freebsd.org?subject=help>
List-Subscribe:
<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
<mailto:free...@freebsd.org?subject=subscribe>
Sender: owne...@freebsd.org
Errors-To: owne...@freebsd.org