Free and easy to use zip tools are commonly available. If users complain, suggest archive formats such as Zip. In this article, we have explained how to install SpamAssassin with Postfix on Ubuntu 20.04. You should configure SpamAssassin to reject messages with attachments that are Windows executables, because these are almost always malware. The installation and configuration process has been completed successfully. To avoid that, we are going to create a specific user and group for spamassassin. Restart Postfix and enable SpamAssassin to run at system startup. Setting up spamassassin Okie, so you installed spamassassinfrom debian repository, on default settings, spamassassinruns as root user and is not started. Below the smtp configuration, add a SpamAssassin content filter. Find following entries: smtp inet n - y - smtpdģ. Ifplugin Mail::SpamAssassin::Plugin::Shortcircuit # mv /etc/spamassassin/local.cf /etc/spamassassin/local.cf.bkĬopy and paste following lines in the file: rewrite_header Subject ***** SPAM _SCORE_ ***** Take a back of SpamAssassin local configuration file and create a new SpamAssassin local configuration file using following command: # OPTIONS=”–create-prefs –max-children 5 –username spamd –helper-home-dir /home/spamd/ -s /home/spamd/spamd.log” Second, find OPTIONS= and add home directory and log file. Now let’s assign newly created user spamd to SpamAssassin and set the log and default home directories.įirst, open SpamAssassin configuration file in editor.įind ENABLED=1 and uncomment it and set it to 0. Install SpamAssassin using following command.Īdd one user to assign to SpamAssassin and disable the login. SpamAssassin runs on a server, and filters spam before it reaches your mailbox. SpamAssassin uses a variety of mechanisms including header and text analysis, Bayesian filtering, DNS blocklists, and collaborative filtering databases. Install SpamAssassin with Postfix on Ubuntu 1. SpamAssassin is a mature, widely-deployed open source project that serves as a mail filter to identify Spam.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |