Uninstall Open Directory Service on MacOS

Log — Posted by Starck on July 15, 2013

In terminal:

sudo slapconfig -destroyldapserver

Building Your Own Mail Server

Log — Tags: , — Posted by Starck on July 5, 2013



主要參考 Linode Library 的這篇教學

Postfix Settings






Dovecot Settings

In this section, you’ll configure Dovecot to:

  • Set the IMAP, POP3, and LMTP protocols
  • Define the mail location
  • Use MySQL for username/password lookups for authentication
  • Configure needed sockets for authentication and LMTP
  • Require SSL encryption

You’ll modify a total of 7 Dovecot configuration files. Here’s the list:

  • /etc/dovecot/dovecot.conf: Dovecot’s main configuration file
  • /etc/dovecot/conf.d/10-mail.conf: Deals with the server’s file system
  • /etc/dovecot/conf.d/10-auth.conf: Defines how user authentication is handled
  • /etc/dovecot/conf.d/auth-sql.conf.ext: New authentication file for SQL-type authentication
  • /etc/dovecot/dovecot-sql.conf.ext: An included authentication file with the MySQL connection parameters
  • /etc/dovecot/conf.d/10-master.conf: Where sockets are configured
  • /etc/dovecot/conf.d/10-ssl.conf: Where SSL-related parameters are specified


如果要開啟 pop3 110 port, /etc/dovecot/conf.d/10-master.conf:

PostfixAdmin permission issue (myself)



(c) 2024 Starck Lin | powered by WordPress