Stephan Bosch-2 wrote
> On 4/21/2013 3:10 PM, iliusha wrote:
>>> The whole point of Bcc is that the sending SMTP server removes the
>>> header
>> before the mail is sent
> 
> Do you see anything strange in the logs?
> 
> You could try the following Sieve script to get a bit more information 
> (perhaps I should make a normal debug log line for this).
> 
> require "vnd.dovecot.debug";
> require "envelope";
> require "variables";
> 
> # Get envelope
> if envelope :matches "to" "*" { set "env_to" "${1}";  }
> 
> debug_log "ENVELOPE_TO: ${env_to}";
> 
> You need to enable the vnd.dovecot.debug extension in your 
> sieve_extensions= setting.
> 
> The debug line will be logged in the user log (e.g. ~/.dovecot.sieve.log)
> 
> Regards,
> 
> Stephan.

Enabling debug i found where was my mistake, so
i use Virtual list: [email protected] -> [email protected].
and when i sent email to [email protected] it automatically goes to
[email protected], but in email headers i saw Envelope To: [email protected],
and I thought that sieve also sees Envelope to: [email protected], but it is
not right. (It is my first experience with sieve, i am new in this.)

main_script: line 17: info: DEBUG: ENVELOPE_TO: *[email protected]*.
info: msgid=<[email protected]>: stored mail into
mailbox 'INBOX'

Anyway, i'm happy that i found the solution using this forum, otherwise i
did not believe that it is possible.
Thank You.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/Sieve-BCC-tp41757p41767.html
Sent from the Dovecot mailing list archive at Nabble.com.

Reply via email to