• XSS.stack #1 – первый литературный журнал от юзеров форума

Статья PowerMTA Install & Setup

Tatayaga

ripper
КИДАЛА
Регистрация
10.02.2020
Сообщения
13
Реакции
5
Пожалуйста, обратите внимание, что пользователь заблокирован
To install PowerMTA 4.5, you will need to buy a server
with Сentos 6.0 operating system (x86-64 or x64)

Minimum requirements: 1Gb RAM, 10Gb disk,
preferably on SSD. It is also desirable that in the DNS zone of the domain all the records (type A and MX) necessary for working with this server were registered .

To work with the server you only need:
Ip адрес сервера
Логин root
Пароль к root

*Additional commands for working with the server

reboot- Restarting the server from the console

Additional commands for working with PMTA:

service pmta reload- Restarting the PMTA config


service pmta restart- Restarting the PMTA

service pmta stop- Stopping the PMTA


pmta pause queue /- Pause sending PMTA


pmta resume queue /- Start sending the PMTA


pmta delete —queue=/- Delete the PMTA distribution queue

Install PowerMTA 4.5:


Download the Putty control console from the official site for working with the server.


Log in using your data to the server.


1. First you need to install the necessary applications on the server. Paste these commands in putti


yum -y install wget


yum -y install unzip


2. Then we upload files to the server to install and configure Pmta:


wget "https://partizanam.ru/cash/pmta-324345-45.zip"


unzip -q pmta-324345-45.zip


3. Download the WinSCP file manager from the official site for working with files on the server.


Go to Settings, select "Settings" at the bottom, select "Panels" and tick "Show hidden files"


4. Open the folder /rootand find the files domains.txtand mailpass.txt





- In the file, domains.txtspecify the domain (s) and ip address (s) of your server.


IMPORTANT: There must be a space between the domain and the IP address. The space should be after the IP address. Also, there should always be another blank line at the bottom.



- In the file, mailpass.txtspecify the password that will be used to create mailboxes.


No spaces or new lines in this file need to be specified!


5. Then proceed to the installation of PowerMTA:


chmod 777 install.sh


./install.sh


6. If the installation was successful, restart the server with the command:

reboot

If errors occur when starting PowerMTA:


1. We are looking for the cause of the service start error:


/usr/sbin/pmtad —debug


2. Find out which process still uses port 2525 and prevents launch:


netstat -tulpn | grep :2525


3. We kill the process interfering with the launch of PowerMTA:


for example:kill 1204


4. Run the PMTA again:


service pmta start


After a successful launch, the PMTA control panel should open at


http://vashdomen.ru:1001orhttp://IpServera:1001


PowerMTA 4.5 Setup:


To configure PMTA, two Files are used: configand virtualhost.txt


They are located in directory /etc/pmta


1. In the file config, first of all, you need to set your company's IP address to access the dashboard. To do this, COPY YOUR IP and replace the characters: 0/0in the 31 and 32 line.



If you leave these lines unchanged, then you can access your dashboard from any IP address. This can be dangerous on the one hand, but on the other hand it’s convenient if you frequently change your IP address.


2. The file virtualhost.txtcontains access to connect the PMTA to programs or scripts for distribution, as well as settings for the distribution domain (s).


3. The installer automatically creates mailboxes for each domain:


info@domen.ru


bounce@domen.ru


abuse@domen.ru

A password from the file is used as a password to all mailboxes mailpass.txt.
 

Вложения

  • pmta-324345-45.zip
    5 КБ · Просмотры: 108
у партизан - откуда кстати спизженна инструкция - все тоже самое только на русском) Просто кто-то решил повыебываться своими знаниями лингвиста))))) Пмта ставится в 3 минуты. А еще тут не расписанно как делать дмарк спф и дким, без которых ваше письмо даже на зайдет в почтовый сервер, не то что в инбокс.
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх