How do I Reconfigure Postfix?

Run the following command:

dpkg-reconfigure postfix 

Configure the settings as follows:

  • General type of mail configuration? Internet Site
  • System mail name: example.com (not mail.example.com)
  • Root and postmaster mail recipient: ubuntu (your user name)
  • Other destinations to accept mail for:  (to use default value)
  • Force synchronous updates on mail queue? No
  • Local networks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  • Mailbox size limit: 0
  • Local address extension character: +
  • Internet protocols to use: all
Category: OpenLiteSpeed