User Tools

Site Tools


сервис_mta

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_mta [2025/04/03 13:13]
val [Протокол SMTP]
сервис_mta [2026/10/15 10:59] (current)
val [Использование почтовых псевдонимов]
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 269: Line 273:
 root: userX@isp.un root: userX@isp.un
  
-# root: "​|logger -t mail-to-root -p mail.info"+#​root: ​student@corpX.un
  
-#nagios: userX@isp.un +#root: "​|logger -t mail-to-root -p mail.info"
-#nagios: student@corpX.un+
  
 support: user1, user2 support: user1, user2
Line 391: Line 394:
 ==== 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>​
  
сервис_mta.1743675238.txt.gz · Last modified: 2025/04/03 13:13 by val