
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jun 16, 2008, at 3:25 AM, Maickel Pandie wrote:
I have some problem here and I didn't know how to solve it. I sent 1 message to milis_01@milis.com (listname) and I record what Switchboard.files() return to Runner.py:
1213621876.0387881+53028ae65697f5b1c06e9cf0f3b04ae1bb2ecfb1 1213621876.0387881+ad9a762eff62186e94d26fda95865243b6dc4069 1213621876.0387881+e7efb136c33f77e0674e03512860aadb23a2d605
From Switchboard.enqueue() and Switchboard.files() I knew that 1213621876.0387881 is the rcvtime
What I asking are:
- Why the digest (53028ae65697f5b1c06e9cf0f3b04ae1bb2ecfb1, ad9a762eff62186e94d26fda95865243b6dc4069, e7efb136c33f77e0674e03512860aadb23a2d605) are changing for same message?
Because the hash is calculated from the entire contents of the file,
which includes the message's metadata dictionary. That will change
each time the message is re-queued.
- In Switchboard.files() Can I get listname from the digest/ filebase? How?
Nope. That information is available in the metadata, but you have to
dequeue the file in order to read it.
Cheers,
- -Barry
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin)
iEYEARECAAYFAkhWjJ4ACgkQ2YZpQepbvXEJEwCdFw6o4MhGsheX+Mu8Pn11GW4N vFMAnRARv78M+7YpwVxNJCoqIOoBt8/o =9HdD -----END PGP SIGNATURE-----