E-Mail Filtering to spambox - spambox doesn't exist (dovecot)

kristian

Verified User
Joined
Nov 4, 2005
Messages
481
Location
Norway
Hi,

A customer had some trouble using the E-mail filtering option, so I tested on my own little domain, and found a few troubling things.

I have an account, [email protected] that I use for... you guessed it - testing. I added a single block-word for this domain under E-Mail Filtering, and the word is "pleaseblockthis". I also selected that spam should be sent to spambox rather than be dropped.

The folder ~/.spamassassin showed up.

I then sent a mail to this account with no block-word in it, and it showed up as expected in my inbox.

Then I sent another email, with the word pleaseblockthis in the body. Here's what my exim-log says:

Code:
2008-03-13 17:41:32 1JZqUm-00043g-1i <= [email protected] H=mg2.nordkapp.net [80.65.63.22] P=esmtp S=1725 [email protected] T="test2" from <[email protected]> for [email protected]
2008-03-13 17:41:32 1JZqUm-00043g-1i => /home/kr42/Maildir/.INBOX.spam/new/ <[email protected]> F=<[email protected]> R=domain_filter T=address_file S=1876
2008-03-13 17:41:32 1JZqUm-00043g-1i Completed

So apparantly the filter works, the mail is blocked, and delivered to a spam-folder.

However, this spam-folder does not exist. The mail is gone.

The folder ~/.spamassassin contains nothing.
The folder ~/imap/42.no/krtest/Maildir/ contains only the cur/, new/ and tmp/-folders, no spam-folder. The "spam"-mail is in none of those folders, only the first mail I sent, with no block-word in it.

What am I missing here? Shouldn't this spam-folder be created automatically if it doesn't exist, instead of simply saving the mail into nothingness?

It's not a single domain-problem, as it happened to my customer, and to my own domain when I tried it.

Please help! :)
 
Back
Top