-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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@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?
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.
}
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBWZwzgXz1H7kL/d9rAQK5TQgAkT7OcnKJv6b8BtF1OcuV8HHDjXX8Vh9a WUJud3cC2gR2jewmTzQn+RuOLuHQp5+NQO7jFunTdK63Kls6l3bT8QkyYmv/DleG 9kFIZ4PEzS5wqfvE2GPIaVqwu6GwCxpFCc65GTqQ6GzNzl53zAdHRkbyJkK0SPOa bAKv8RFWF0PQd9e5ZvQquj/keOlayl/fH8lcNMY/PcdF0ilQJRyKkuFd25XJ5k4U LvJjq8vGQBGQkrM76TRBmU5nWk4NxFY9un5v41TVU9Rp2YIMadvoUJrcELOQG90D mgIK9KxOgeDQirL7ESGIKFeGDBoTQQudWE60Vv+euTohPeCLUHZ8UQ== =YUpK -----END PGP SIGNATURE-----