> Ok, it's because GStrings don't self-initialize like GLists do. Bah. I'm
> just going to zap the set/get_envelope functions I wrote last week;
> get_header("Return-Path") already has exactly the same information.
OK
I download revision 1986
It works!
And there are no more Glib-CRITICAL errors!!!!!!!!
But, my sieve script:
require "subaddress";
if envelope :detail "to" "spam1" {
fileinto "SPAM";}
don't work ;(
As I see in sort_getenvelope function:
sieve2_setvalue_string(s, "envelope",
dbmail_message_get_header(m->message, "Return-Path"));
and think, that "if envelope :detail" try to recognize Return-Path line from
header of message - sender address, instead of recipient (in my case)...
Is it right?
or I am mistaken at all ...
--
Oleg Lapshin