Topic: run sieve-filter out of crontab
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version 1.7.2 PGSQL edition
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi, pretty new to iRedMail, I want to use sieve-filters at a specific time (purpose: after a working day with several conversations I want to automatically move mails of certain people to certain folders. until then I want them in the inbox).
Now, I created a simple sieve-rule and try to execute it as user vmail. Unfortunately my system tells me:
Error: auth-master: userdb lookup(otto@blablubb.org): Auth USER lookup failed
when calling
sieve-filter -e -W -u otto /root/sieve_rules/silvia INBOX
Does anyone know how to execute sieve-rules from a shell? Which user must it be running?
And yes, I know that I could write a small python script for this, but why re-invent the wheel?
Best regards and thanks in advance,
Otto
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.