lwc:linux:postfix

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
lwc:linux:postfix [2021/09/25 10:37] John Harrisonlwc:linux:postfix [2021/11/11 05:59] (current) John Harrison
Line 42: Line 42:
   * to reload the settings: ''sudo postfix stop; sudo postfix start; sudo postfix reload''   * to reload the settings: ''sudo postfix stop; sudo postfix start; sudo postfix reload''
   * when testing ''tail -f /var/log/mail.log'' is your friend   * when testing ''tail -f /var/log/mail.log'' is your friend
 +  * view queued mail: ''postqueue -p''
 +  * flush queued mail: ''postqueue -f''
 +  * purge all queued mail: ''sudo postsuper -d ALL''
 ==== Optional ==== ==== Optional ====
   * get current hostname: ''hostname''   * get current hostname: ''hostname''
   * set hostname with ''hostnamectl set-hostname <HOSTNAME>''   * set hostname with ''hostnamectl set-hostname <HOSTNAME>''
  
  • lwc/linux/postfix.1632584261.txt.gz
  • Last modified: 2021/09/25 10:37
  • by John Harrison