- Details
-
Category: Servers
-
Published: Thursday, 18 November 2021 12:58
-
Written by Super User
-
Hits: 727
This has never happened, and then, suddenly, again ... When installing Ubuntu server on VirtualBox at first everything went fine, but after installing sshd the service did not start
The output of journalctl -xe did not show anything specific
- Details
-
Category: Servers
-
Published: Thursday, 10 December 2020 16:03
-
Written by Super User
-
Hits: 1438
Almost all image files have the ability to store additional data, such as image size, creation time, geo-coordinates and so on.
It is also possible to add additional parameters - description, copyright and more.
There are EXIF data
Exchangeable image file format - a standard that defines the format of the description of auxiliary meta-information for image and sound files and used by digital cameras (including those in smartphones), scanners and other systems.
By the way, there is insufficient evidence that search engines use exif-image data on sites to rank the site and search optimizing.
Now let's see how to add or change EXIF-data
- Details
-
Category: Nagios
-
Published: Thursday, 25 June 2020 16:13
-
Written by Super User
-
Hits: 1651
If you have a site, there is a need to control the validity of the certificate. I already use Nagios for monitoring, so let them control the certificates.
- Details
-
Category: Mail Server
-
Published: Friday, 27 December 2019 11:37
-
Written by Super User
-
Hits: 6383
The list of articles cycle
Support plus addressing for mail server
If there is a need to support the plus addressing on the mail server, then it will be necessary to customize our system.
In the Postfix configuration file - /etc/postfix/main.cf you must add a line
recipient_delimiter = +
if we have Dovecot in the role of LDA, we need to make additional settings. First in the file /etc/dovecot/conf.d/15-lda.conf should add or uncomment the line:
recipient_delimiter = +
And in the /etc/postfix/master.cf file, we need to modify our dovecot filter.
It should look like this:
# Dovecot LDA
dovecot unix - n n - - pipe
flags=DRhu user=virtual:virtual argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -a $original_recipient} -d ${user}@${nexthop}
- Details
-
Category: Mail Server
-
Published: Friday, 19 April 2019 15:44
-
Written by Super User
-
Hits: 2727
I decided to create a separate article with contents of all articles from the Mail Server cycle.
I will write the full content and links will be inserted as far as publishing new articles
- Details
-
Category: Mail Server
-
Published: Tuesday, 17 December 2019 14:11
-
Written by Super User
-
Hits: 2134
The list of articles cycle
To manage messages in Dovecot enabled Sieve.
Sieve — this is a language for describing filtering rules for messages. It was created by Cyrusoft International, Inc./ISAMET while working on the mail server Cyrus. By writing scripts with mail processing it is possible to:
- automatically sort messages in mail folders based on certain attributes (sender, subject and others).
- Automatically delete messages based on certain attributes
- set up automatic vacation on certain emails
Email processing should take place before the email gets into the user's mailbox. In our previous settings, In our previous settings, the local delivery agent (LDA) is Postfix itself. To connect the Sieve extension, you need to translate this function into Dovecot.
- Details
-
Category: Mail Server
-
Published: Monday, 09 September 2019 14:14
-
Written by Super User
-
Hits: 2300
The list of articles cycle
For correct operation of the mail server requires correct DNS configuration.
In our domain zone, at least, we must have MX records. It is also desirable to create the reverse record, SPF, DKIM and DMARC
Basic DNS settings
In order for other servers to know that our server is accepting mail for our domain, the following settings must be created in the zone description:
- Create an A record for our server (forward zone)
- Create MX record specifying priority and with our domain name
- Send request to the provider, hoster, or other entity that provided us with an IP address, requesting to provide a reverse zone (PTR-record) for our IP address with the name from the forward zone.
- Details
-
Category: Mail Server
-
Published: Wednesday, 14 August 2019 15:27
-
Written by Super User
-
Hits: 3285
The work of gray lists is based on the fact that spammers in case of sending errors often do not send the letter a second time, and legitimate mail servers will try to send a letter for at least two days.
When the message is received for the first time our server returns an error 450 (message not accepted due to a temporary error) and terminates the session,
After a specified timeout (default 300 seconds) the message will be accepted and address of the sender server will be temporary whitelisted. The server will stay in this list for 35 days since the last successful session by default
Let’s install the necessary software
# apt install postgrey
- Details
-
Category: Mail Server
-
Published: Monday, 05 August 2019 15:18
-
Written by Super User
-
Hits: 2855
SpamAssassin installing
To install anti-spam, execute the command:
# apt install spamassassin
The program will not work after installation. It is disabled by default. To activate it, it is necessary to change the value enable to 1 in /etc/default/spamassassin file.
- Details
-
Category: Mail Server
-
Published: Thursday, 18 July 2019 14:27
-
Written by Super User
-
Hits: 2155
The list of articles cycle
Install the antivirus system for the mail server:
#apt install clamsmtp