Kategorie: DirectAdmin

Restoration rules spamasasin DirectAdmin

Below a very simple way to restore spamasasin of rules as well as the configuration of the user for spamasasina.

Due to the fact that after switching off and on again and spamasasina killed all the rules you should have a backup copy of your server and all files How.
Our server vps is held in a company which provides a copy of spare parts for 7 days back so it is very large convenience.

Server administer themselves to learn this new and assistance is very helpful because you can always write to them but he wanted to figure out about the restoration of the rules.

I use a little google search and found where the rules are stored namely:

The file is responsible for it:

/home/user/.spamassassin/user_prefs

/home/USER We replace the name of our user

She pulled out a copy of the file and overwrite.

Empty file looks like this:

required_score 5.0
rewrite_header subject *****SPAM*****


report_safe     1

blacklist_from 

whitelist_from

and the full rules:

required_score 5.0
rewrite_header subject *****SPAM*****


report_safe     1

blacklist_from *nazwa.pl
blacklist_from *facebook.com


whitelist_from *@*.hostmark.pl
whitelist_from *@*.serwerweb.pl

short legend:

blacklist_from

then all the addresses you want to block the so-called black list.

whitelistfrom

all addresses that are added to the white list of exceptions and despite everything we receive from the domain or e-mail messages.

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu