Hello,
I updated the SpamAssassin Plugin today and ran into 2 errors:
and
Code
- Setting up sa-compile (3.4.1-3) ...
- Configuration file '/etc/spamassassin/sa-compile.pre', does not exist on system.
- Installing new config file as you requested.
- Running sa-compile (may take a long time)
- dpkg: error processing package sa-compile (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- sa-compile
As it turned out the error was coming up due to insufficient login shell for user debian-spamd. I found the final hint here
Adding -s /bin/sh to the postinstall files in /var/lib/dpkg/info (sa-compile.postinst -> line 10 and spamassassin.postinst -> line 35) fixed the issue for me.
Perhaps this information helps someone running into the same issue.
Regards Jörg