store into mailbox 'Junk' aborted

Kenneth Topp toppk at bllue.org
Wed Aug 23 16:57:20 EEST 2017



On August 22, 2017 9:37:05 AM EDT, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:
>On Tue, 22 Aug 2017, kenneth topp wrote:
>
>>>> Aug 21 19:43:59 lmtp(toppk): Debug: $MAILDIR/Junk: Mailbox opened
>>>> because:
>>>> lib-lda delivery
>
>>>> sieve: info: started log at Aug 21 19:43:59.
>>>> error: msgid=<E1cxyRv-000F7r-E9 at tra-vmail-01>: failed to store into
>>>> mailbox '$MAILDIR/Junk': Mailbox doesn't exist: $MAILDIR/Junk.
>
>>> What is $MAILDIR and where do you use it?
>
>> $MAILDIR is /home/toppk/mail (for clarity, it was printing $MAILDIR)
>
>> Another thing I need to be clear on.  This sieve moves are working
>99% of
>> the time, just once in a while it fails.
>
>Are you sure?


Yes, I'm sure.


>
>> if header :matches "Subject" "*junktest*" {
>>        fileinto "Junk";
>
>^^ No $MAILDIR
>> }
>>
>> #if header :matches "Subject" ["*money*","*Viagra*","Cialis"] {
>> #        fileinto "Junk";
>
>^^ Neither
>
>> #}
>>
>> if header :contains "X-Spam-Flag" "YES" {
>>        fileinto "Junk";
>
>^^ No $MAILDIR
>
>> }
>>
>>
>> if header :comparator "i;octet" :contains "X-Spam-Flag" "YES" {
>>        fileinto "$MAILDIR/Junk";
>
>^^ Why here?? copy the fileinto of the other rules.

I've removed the duplicate rules and that seems to have sorted out the issue.  Although it doesn't explain why the issue was only happening sporadically, I'll consider this solved.

Thanks for the help.

>
>> }
>
>-- 
>Steffen Kaiser

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the dovecot mailing list