The whole point of Bcc is that the sending SMTP server removes the header before the mail is sent Yes, you right, thank you, i didn't know that.
but, do you now what is strange - ok i don't have the BCC point in message header, but i have Envelope-to: header, why the sieve won't process it? (envelope :contains "to" "test@example.com" )
This is how i receive email headers:
/Return-path: <sender@example.com> *Envelope-to: test@example.com* Delivery-date: Sun, 21 Apr 2013 09:24:23 +0300 Received: from [1.1.1.1] (helo=helo) by MX-Server with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <sender@example.com>) id 1UTnhH-000Gx0-I2 *for test@example.com*; Sun, 21 Apr 2013 09:24:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=example.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=JPnc/R6ltRQ3Naw1NgX7zO/kXeb6z96fjMSgEkiwbRk=; b=aXNcToLUBFCJJDs8zTCKPIHHIaKQCQYwGC0/mKKsPA4sqXtca7Y1jsqSdO86WolrQV9J/LWmvT39PufdvQjo0u9zmRWfGOBDi2NJ9m+6KS5cQhQgDyVkNr+HbpX/pm1ALkzGfRWMDFbVzEZ+IDCB /TWHE2A9+yCZIQGlLOIDTuo=; Received: from [1.1.1.1] (helo=AdminPC) by mx0.example.com with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from <sender@example.com>) id 1UTkt0-00011o-1U; Sun, 21 Apr 2013 06:24:22 +0300 From: "Admin" <sender@example.com> To: <example.com@gmail.com> Subject: test1 Date: Sun, 21 Apr 2013 09:24:23 +0300 Message-ID: <000001ce3e58$ddc6a3b0$9953eb10$@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CE3E72.031429D0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac4+WN2excy0RNupTa6JtRtSdrQjog== Content-Language: ro X-ACL-Warn: M40=White Host or Relay Host X-SA-Exim-Connect-IP: 1.1.1.1 X-SA-Exim-Mail-From: sender@example.com X-SA-Exim-Scanned: No (on mx0.example.com); SAEximRunCond expanded to false
This is a multipart message in MIME format.
------=_NextPart_000_0001_01CE3E72.031429D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit
test/
-- View this message in context: http://dovecot.2317879.n4.nabble.com/Sieve-BCC-tp41757p41759.html Sent from the Dovecot mailing list archive at Nabble.com.