[sylpheed:35919] Re: Add-On: OpenPGP with sylpheed

Javier meresponde2001-sylpheed at yahoo.es
Sun Dec 8 02:29:38 JST 2013

On Sat, 7 Dec 2013 18:24:21 +0900
"Stefan A." <stefan.a at portblue.net> wrote:

> @Frank, Javier, and Paul, while we are at the topic of PGP/MIME and
> Inline PGP: I have a similar issue with a remote system which regularly
> sends PGP-encrypted status messages (SSH intrusion, disk space status
> etc.) to my email address, but I have not been able to format these
> messages in a way that will make Sylpheed decrypt them automatically
> (that is: without the action hack Paul mentioned).
> I admit I am not very knowledgeable about PGP-related email formatting
> standards, so I simply used the source of a PGP/MIME message which
> Sylpheed successfully decrypts as a template, removed the original PGP
> message block and put together a simple Bash script on the remote
> system which takes the status messages, PGP-encrypts them (gpg -ea
> --recipient KEYID), plugs them into the template and sends them out via
> "mail -s". Decryption of such an email works flawlessly with
> Thunderbird and Evolution, but Sylpheed refuses to show these emails
> altogether (the body is simply blank). Do you guys have any ideas on
> what may cause this or suggestions on what I should do to get Sylpheed
> to show and decrypt these messages?
> Thanks in advance!


I'm not a Linux user (I'm not used to it) so beyond this point I
won't be able to help as I don't know what mail command does and how
exactly works.

Anyway, my guess of what you said could be that you aren't adding
headers or are wrong. Could be that you are using the template as
plain text added to an email.

Also, this is totally my guess. I haven't tested or used but should

Look at this example at Wikipedia
https://de.wikipedia.org/wiki/PGP/MIME You have some things to pay
attention to.


 Content-Type: multipart/encrypted;

If you can force to add the same headers (of your Sylpheed example,
not this) to mail command you can template the rest and add the PGP
message block where it fits. And note the boundary ID for each PGP

I think it should work, but, hey, I didn't test these things.

You can just insert the PGP message block in the message body as an
inline element, plain text, normal text (as you whish), do the action
suggested by Paul and forget everything else. Basically is what
Thunderbird is doing automatically.


More information about the Sylpheed mailing list