This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
сервис_mta [2025/04/03 13:13] val [Протокол SMTP] |
сервис_mta [2026/07/20 16:11] (current) val [Установка и настройка MTA на обработку почты домена hostname] |
||
|---|---|---|---|
| Line 35: | Line 35: | ||
| === Debian/Ubuntu (postfix) === | === Debian/Ubuntu (postfix) === | ||
| <code> | <code> | ||
| + | root@server:~# echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections | ||
| + | или | ||
| root@server:~# debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" | root@server:~# debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" | ||
| root@server:~# debconf-set-selections <<< "postfix postfix/mailname string corpX.un" | root@server:~# debconf-set-selections <<< "postfix postfix/mailname string corpX.un" | ||
| + | |||
| + | root@server:~# debconf-show postfix | ||
| root@server:~# apt install postfix | root@server:~# apt install postfix | ||
| Line 391: | Line 395: | ||
| ==== Postfix ==== | ==== Postfix ==== | ||
| <code> | <code> | ||
| + | # mailq | ||
| + | # postqueue -f | ||
| + | |||
| # mailq | grep apache@hoster.bmstu.ru | grep '*' | cut -d'*' -f 1 | postsuper -d - | # mailq | grep apache@hoster.bmstu.ru | grep '*' | cut -d'*' -f 1 | postsuper -d - | ||
| </code> | </code> | ||