Ubuntu spamassassin3/31/2023 ![]() As well as the last command.Īfterwards I restarted the server and tried to reinstall Spamassassin but the error is the same. Afterwards the command was successful.ĭpkg-reconfigure -a gives me unknown option 'a'. I edited the statoverride file and removed the entries for user 'amavis' and removed the folders the amavis user should operate on (don't know why they were still there since I removed amavis yesterday with apt). Unknown system user 'amavis' in statoverride file the system user got removed At first I got the following error: dpkg: unrecoverable fatal error, aborting: I would appreciate some help.Īs Yannis suggested I ran the given commands. I assume it has something todo with privileges but I really have no clue where to start. I think the 'version' of Ubuntu 20.04 my hoster provides has some unusual configuration. The installation got stuck at exactly the same point. This approach is also worse for maintainability.Īt first (weeks ago) I tried to install iRedMail as all-in-one mail solution. Building and installing Spamassassin from source works, but I got stuck on setting up the whole thing with spamass-milter (also built from source). Even reinstalling Ubuntu 20.04 with the admin panel of my hoster (ip-projects) leads to exactly the same behavior. SpamAssassin is free and Open-source and relies on Perl language to scan and identify email headers, subject lines, and body to keep a server from spam. Un inicio de sesin, 15 pases, 22 ciudades, infinitas posibilidades. Inscrbase gratis y comience a alojar sus servidores virtuales hoy mismo Estamos simplificando la nube. I tried changing the ownership of the directory to debian-spamd, also recreated the directory manually before running the installation. How to Install SpamAssassin with Postfix on Ubuntu - Implemente SSD VPS de alto rendimiento en la red mundial de Vultr en 60 segundos. Installed sa-compile package post-installation script subprocess returned error exit statusĪfter installation I can run sa-update and sa-compile manually and Spamassassin will start properly, but when installing spamass-milter or amavis the directory 'compiled' is removed and the same error occurs again. Tutorial Environment VPS dan software yang digunakan: VPS Ubuntu 22. ![]() Warning: Fake start-stop-daemon called, doing nothing.Ĭhmod: cannot access '/var/lib/spamassassin/compiled': No such file or directoryĭpkg: error processing package sa-compile (-configure): to Install Proxmox Mail Gateway on Debian 11 How to Install SpamAssassin. Running sa-compile (may take a long time) The installation fails when it runs sa-compile producing following output: Setting up sa-compile (3.4.4-1ubuntu1). The default configuration files should give us a desired caching non-forwarding DNS server listening locally only.For a while now I am trying to install Spamassassin properly as root user with 'apt install spamassassin spamc'. Packaging varies slightly between distributions so refer Internet articles for details and current information for your OS version. Then use service spamassassin restart to bounce the service, and service spamassassin status to check that spamd is running. Edit /etc/default/spamassassin, or /etc/init.d/spamassassin if you don't have one, and add -ipv4 to the OPTIONS list. Using global forwarders like Cloudflare (1.1.1.1) or Google (8.8.8.8) can actually improve performance, since their huge caches help with all the common stuff like DKIM, SPF, PTR/MX lookups etc. Integrating Postfix and SpamAssassin In order to efficiently integrate Postfix and spamassassin, we will need to create a dedicated user and group to run the spam filter daemon: useradd spamd -s /bin/false -d /var/log/spamassassin Next, add the following line at the bottom of /etc/postfix/master.cf: master. First of all, spamassassin appears to have issues (in some environments) running with ipv6. More info about this can be found in FAQ.ĭnsmasq should not be used by SpamAssassin since it can only forward to other DNS servers.Īn advanced setup is possible atleast with Unbound and BIND, where queries are forwarded by default to another DNS servers, but exceptions like Spamhaus can be made to go direct. Forwarding to other DNS servers often results in URIBL_BLOCKED or similar rule hits meaning you have gone over their free usage limit. NOTE: A local DNS caching server should not forward to other DNS servers to ensure your queries are not combined with others. This information needs to be cached locally to improve performance and limit the number of external DNS queries since some DNSBlockLists have limits on free usage. SpamAssassin will perform many DNS lookups for NetworkTests to significantly improve scoring of messages primarily by DNSBlocklists like Spamhaus, SORBS, etc.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |