server

  1. Underground Forum

    PMTA How to create a new SMTP user in virtualhost.txt

    Adding new SMTP user After installing PowerMTA manually, you will need to create a new SMTP user and virtual-mta. To create an user, edit the virtualhost.txt file: # Adding new VMTA-user <smtp-user user1> # user's name password password XXXXX # user's password...
  2. Underground Forum

    PMTA How to change SMTP port in PowerMTA

    SMTP port in pmta config To change the SMTP port in PMTA, find and edit the config file at /etc/pmta/config Find the line that starts with smtp-listener This line specifies the port used by the PMTA server. If you need to use several ports, duplicate the line. smtp-listener 0/0:2424...
  3. Underground Forum

    PMTA PMTA console commands

    CLI commands for PMTA server System PowerMTA reboot service pmta restart Reloading the pmta config pmta reload Reload pmtahttp pmtahttp restart Launching PowerMTA service pmta start Search for possible errors pmtad --debug Reset statistics pmta reset counters Checking the status of PMTA...
  4. Underground Forum

    PMTA PMTA configuration

    What is the main configuration file of PMTA This is a file which is located in the etc/pmta/ directory of your server and responsible for the rules of sending mail from a particular domain/ip address. Two files are responsible for the configuration of your mail server, config and...
  5. Underground Forum

    Security How to protect your website from spambots

    Protect website via htaccess This list for .htaccess contains more than 1900 bad bots, grabbers, spammers, combiners and other garbage. Blocking them will help to reduce the load on your site, which will positively affect it's performance and security. At the same time, search engines bots...
  6. D•Jass

    Security Setting up own VPN server

    Set up own VPN with using OpenVPN client software You will need a server with bandwidth 200 Mbps and pre-installed Ubuntu 20.04 or later. 1. Connect to your server: ssh root@ip 2. Install git: apt install git 3. Install OpenVPN: git clone https://github.com/Nyr/openvpn-install.git cd...
  7. D•Jass

    Security Potentially dangerous functions in PHP

    List of dangerous functions exec() - calling an external program proc_open() - executes a command and opens a file pointer for I/O shell_exec() - executes a command in a shell and returns the full output as a string system() - calling an external program and displaying the result passthru() -...
Top