Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian package dependency and spool directory issues #3

Open
gkroon opened this issue Jul 9, 2017 · 1 comment
Open

Debian package dependency and spool directory issues #3

gkroon opened this issue Jul 9, 2017 · 1 comment

Comments

@gkroon
Copy link

gkroon commented Jul 9, 2017

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=<[email protected]> to=<[email protected]>

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 [email protected]: 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. :-)

@gkroon gkroon changed the title Debian package issues Debian package dependency and spool directory issues Jul 9, 2017
@DanWin
Copy link
Contributor

DanWin commented Apr 11, 2019

I'm working on an updated version of this and added a fix to my fork: https://github.com/DanWin/openpgpkey-milter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants