On Tue, 21 Jan 2020, Bjørn Mork wrote:
> The issue could probably be fixed in sendmail by moving the initsys(e)
> call in front of milter_envrcpt().  But reading the milter docs, I am
> not convinced this is the "most correct" fix.  I believe the bug really
> is in spamass-milter assuming that the "$b" macro value is valid at this
> stage.

Thanks for the great analysis of this issue; I think the easy fix is to
just synthesize the current RFC 5322 format time and provide it instead
of relying on a roundtrip to the $b macro in spamass-milter.

I'm happy to apply a patch which does this; it might take me a while to
get around to do it myself.


-- 
Don Armstrong                      https://www.donarmstrong.com

Rule 30: "A little trust goes a long way. The less you use, the
further you'll go."
  -- Howard Tayler _Schlock Mercenary_ March 8th, 2003
     http://www.schlockmercenary.com/d/20030308.html

Reply via email to