When I try to sign a message with my GPG key, and claws-mail is running under X11-forwarding (over ssh), I get the error message Could not queue message for sending: Signature failed: Data signing failed, Line passed to IPC too long This appears before I am given the chance to enter my passphrase.
Seems a gpg configuration problem, specifically the text mode pinentry¹. A quick Google search shows you probably need to set an environment variable: export GPG_TTY=$(tty) In any case, nothing to do with Claws Mail, hence closing. HTH, ¹ http://sources.debian.net/src/pinentry/0.9.7-5/pinentry/pinentry-curses.c/?hl=373#L373