He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!
He is Technical professional. He Posts what he does!! October 17, December 7, April 25, I encourage to restart the spamassasin service afterwards and run. So you know that pyzor was correctly working and were able to connect to pyzor webserver.
Log into MySQL with. If it does not work, try again and just press enter instead of entering your password. Once logged in, enter the following:. Make sure to change the password here to something secure and memorable. Enter the following:. Make sure to enter the roundcube user password that you used just before. If this command failed, use the following with the root password:.
Now we need to setup Apache to serve the application on our mail server. From here on, this guide assumes the domain name of the server is mail. Otherwise, if you follow the common apache configuration, use the following:. To access the mail client at your URL you need to setup Apache to serve the Roundcube folder from the webroot. You should be greeted with the default Apache startup page, which is good. Run the following commands, replacing your domain where necessary:.
The above creates a file called example. The above creates two virtual hosts for example. To generate an SSL certificate, we use certbot. Enter the following command, replacing your domain where applicable:. Make sure the first section matches the following screenshots:. Also choose plugins installation to your choice.
Your setup is active now. If a spam message reaches your system, a nice short message is added to your system log and the ticket is created in the spam queue automatically! Your email address will not be published. Save my name, email, and website in this browser for the next time I comment.
Notify me of follow-up comments by email. Notify me of new posts by email. This document is not finished yet TTL of your Domains In the DNS servers of your domain set it to something very short: 15 minutes or so Update your server I created a fresh VM for the purpose of writing this how-to, so the first thing you have to do is update everything to the latest and greatest version.
Chrony will keep your system clock within a couple of micro seconds a couple of thousands of a second of the real time sudo apt -y install chrony Wait a couple of minutes and check wether Chrony is getting the correct time from a source: chronyc sources This will display a list of the NTP servers Chrony is polling to get its time.
List all time zones, to get the correct description of your own time zone: sudo timedatectl list-timezones Set your correct timezone. Do not specify the names of domains that this machine is backup MX host for. The local machine is always the final destination for mail addressed to user [the. Continue long lines by starting the next line with whitespace. If this parameter is defined, then the SMTP server will reject mail for unknown local users. This parameter is defined by default.
0コメント