This is not really a bug, but a workaround that Enigmail uses to handle the text=flowed formatting used by Mozilla, which can invalidate signatures.
You can avoid this replacement by setting the option mailnews.send_plaintext_flowed to false.
- Thunderbird: open the Config Editor (Tools > Preferences > Advanced)
- SeaMonkey: open the URL about:config