I use this filter to archive all inbound & outbound messages:
if ("$h_to:, $h_cc:, $h_bcc:, $h_Envelope-to:" contains "[email protected]")
then
  unseen deliver "[email protected]"
endif

if $sender_address: contains "[email protected]"
then
unseen deliver "[email protected]"
endif


If I am listed in senders bcc, the message isn't forwarded to archive. What am I doing wrong?

I suspect $h_Envelope-to: is erroneous, but cannot find a list of acceptable header variables.

Thanks.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to