-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hi,
First I want to say that I am by no means a packaging expert and just created my own Debian package by running debuild -us -uc inside the debian subdirectory of this repository. I installed the resulting package on my Raspbian installation and I noticed it was already running on localhost:8890, but after configuring postfix to use this inet socket (before DKIM) I noticed that only PGP signed or encrypted mails were passed, as indicated by the added X-openpgpkey: Message passed unmodified headers to my mails.
Plain messages were not encrypted and resulted in errors in my /var/log/mail.log:
Jul 9 15:51:55 heimdallur postfix/cleanup[11837]: D5AB81F37A: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.3.0 pymilter: untrapped exception in pythonfilter; from=<gkroon@maelstrom.ninja> to=<guido@kroon.email>
After inspection I noticed that openpgpkey-milter was missing the python-setproctitle dependency and was also missing its /var/spool/openpgpkey-milter spool directory. After I installed the dependency and created its spool directory mails were finally encrypted properly as shown below.
Jul 9 16:04:33 heimdallur openpgpkey-milter: Received DNSSEC secured OPENPGPKEY for guido@kroon.email: Key-ID:394C398C531EFAB0 Fingerprint:2A9DF1D597A0539033C9B3EB394C398C531EFAB0 Jul 9 16:04:33 heimdallur openpgpkey-milter: Will encrypt message to fingerprints:2A9DF1D597A0539033C9B3EB394C398C531EFAB0
Could the dependency be added to the debian/control file, and the /var/spool/openpgpkey-milter be created after installation? That would really help. :-)