When I try to install amavisd I get an error RSA.xs:194: OpenSSL error: no start line at (eval 95) line 75. I have tried uninstalling and reinstalling and just get the same error. I have gone through reinstall and checked every forum I can but can not find anything to do with this error. I have run the test script and found nothing appart from amavisd not started. Job for amavis.service failed because the control process exited with error code. See "systemctl status amavis.service" and "journalctl -xe" for details. invoke-rc.d: initscript amavis, action "start" failed. ● amavis.service - LSB: Starts amavisd-new mailfilter Loaded: loaded (/etc/init.d/amavis; generated) Active: failed (Result: exit-code) since Thu 2022-05-12 09:06:23 UTC; 16ms ago Docs: man:systemd-sysv-generator(8) Process: 224903 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE) May 12 09:06:22 eskia.uk systemd[1]: Starting LSB: Starts amavisd-new mailfilter... May 12 09:06:23 eskia.uk amavis[224903]: Starting amavisd: May 12 09:06:23 eskia.uk amavis[224910]: RSA.xs:194: OpenSSL error: no start line at (eval 95) line 75. May 12 09:06:23 eskia.uk amavis[224903]: (failed). May 12 09:06:23 eskia.uk systemd[1]: amavis.service: Control process exited, code=exited, status=1/FAILURE May 12 09:06:23 eskia.uk systemd[1]: amavis.service: Failed with result 'exit-code'. May 12 09:06:23 eskia.uk systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter. dpkg: error processing package amavisd-new (--configure): installed amavisd-new package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: amavisd-new Thanks very much, This is my first time posting I hope I have not offended anyone.
You do not say which Linux distribution and which version you are using. How are you installing amavis? Are you installing from the distribution repository or from somewhere else? The error message is strange. Try to find which file it is about, and verify the file looks correct. It probably is a text file so you can just read it. Check the line endings are Linux line endings and file does not have extra stuff. What did you do up to starting installation of amavis?
Hello, thanks so much for replying, Ubuntu 20.04.4 LTS we have installed using the https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/ guide. We started with a clean install and followed the guide. We are really struggling to find which file it is complaining about it is not mentioned in any logs the error suggests it is a SSL certificate in the wrong format but not entirely sure which certificate we could fix a certificate error. Thank you so much looking forwards to your responce Duncan
So this is an ISPConfig installation? If that is the case, start with this: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ At which point exactly do you get that error? Are you sure you started with a cleanly installed Ubuntu system with no configurations done except hostname and IP? If you just want a working ISPConfig, trash the current installation and install using ISPConfig autoinstaller: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
Thanks for the quick reply we believe we have just got it working. We nuked it using dpkg --purge --force-all amavisd-new dpkg --purge --force-all amavis apt purge amavisd-new apt autoremove dpkg --purge --force-all amavisd-new then reinstalled and now it is start ok. Just now got a small port issue. Now we go that working we should be able to fix the port issue. Thank you so much for your help Duncan