[Dovecot] duplicates with multiple To/CC and sieve redirect copy

Adam Szpakowski as at 3a.pl
Wed Feb 22 01:02:23 EET 2012


On 21.02.2012 23:57, Timo Sirainen wrote:
> On 22.2.2012, at 0.46, Adam Szpakowski wrote:
>> In one installation we are using sieve "redirect :copy" to create copy of the incoming email (local boss gets copy of its employees mails).
>> There is a problem when the incoming email has multiple To/CC entries with local users. Multiple copy/redirects are created (one for each employee) and there are multiple copies in "boss" account.
> Could this instead be implemented by MTA as automatic bcc: boss of all incoming mails?
Unfortunately no. The employee/boss structure is quite complicated. Some 
employees have multiple "bosses", there are also some "project" emails 
when the structure is even more complicated.
We are using dedicated sieve_before script for each user based on %u 
variable.
-- 
Adam Szpakowski



More information about the dovecot mailing list