0
votes
0answers
18 views

Add a per-domain filter in sieve

How can I set up a per-domain filter in sieve/dovecot? In documentation I can see per-user setting: sieve = ~/.dovecot.sieve, and right now I'm using global filter: sieve_before = ...
0
votes
1answer
663 views

Postfix: Pass a copy of an email to a script but deliver the original one to mailbox

It's actually quite simple: I want to pass all incoming emails to a PHP-script, but only as a copy, the original email shall still be delivered to the mailbox as usual. I just can't seem to get it ...
1
vote
1answer
61 views

Problematic Mail Sieve rules

I need top classify my incomming emails using this three rules: if the email was send to any @somedomain.tld, then copy that email to "somedomain_tld" if the email was send to any other @*.tld , ...
1
vote
1answer
177 views

Sieve: put mail to subaddress into folder

Is it possible to write a Sieve rule like if envelope :detail "to" "$x" { fileinto "inbox.$x"; } but for all possible $x? I.e. if the user created a folder inbox.foo I want mail addressed to ...
1
vote
1answer
277 views

how can i run sieve on a cyrus-imap folder?

I have a sieve script which I would like to run on a folder in my cyrus imap setup. The script is already working fine processing newly incoming mail, but I have to run it on the old mail archive, ...