Mailcow-dockerized: Tagging for mails from same domain does not work (BCC maps)

Created on 15 Jun 2019  Â·  3Comments  Â·  Source: mailcow/mailcow-dockerized

Tagging (and moving to folder/adding tag to subject) does not work for me in the following constellation:
For [email protected] I added a sending and receiving BCC map that sends the mails to [email protected] and [email protected] respectively.
For userB, the tagging does not work in this case? How to enable it?

I guess that this issue is similar to https://github.com/mailcow/mailcow-dockerized/issues/1445 but I don't know how to apply this.

Most helpful comment

You can also create them with mailcow UI. :) But it does not matter.

All 3 comments

It does not pass the filter.

You can write your own sieve script for user B, to sort even without X-Moo-Tag header. Just use the global sieve filter as template, but remove the check for the X header.

Am 15.06.2019 um 13:49 schrieb bonanza123 notifications@github.com:

Tagging (and moving to folder/adding tag to subject) does not work for me in the following constellation:
For [email protected] I added a sending and receiving BCC map that sends the mails to [email protected] and [email protected] respectively.
For userB, the tagging does not work? How to enable it?

I guess that this issue is similar to #1445 but I don't know how to apply this.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for the hint!
I did the following and it seems to work so far (comments/improvements are welcome!)

I created the user script /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/sieve/[email protected] with the content:

require ["fileinto", "envelope", "subaddress"];
if envelope :detail "to" "received"{
  fileinto "INBOX/received";
}
if envelope :detail "to" "sent"{
  fileinto "INBOX/sent";
}

The subfolders sent and received I created manually before.
More details can be found here: https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples

You can also create them with mailcow UI. :) But it does not matter.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mritzmann picture mritzmann  Â·  3Comments

RogerSik picture RogerSik  Â·  3Comments

constin picture constin  Â·  3Comments

Braintelligence picture Braintelligence  Â·  3Comments

GalacticLion7 picture GalacticLion7  Â·  3Comments