-
Notifications
You must be signed in to change notification settings - Fork 5
email server setup Notes
- To set the timezone
dpkg-reconfigure tzdata
- dovecot - an open source pop3 / imap mail server
- To install dovecot on a Debian based distro
apt-get install dovecot
- To print the installed version of dovecot
dovecot --version
- dovecot configuration file location
/etc/dovecot/dovecot.conf
To install postfix on a Debian based system
apt-get install postfix
To print the currently isntalled version of postfix
postconf -d | grep mail_version
the main configuration files for postfix are
main.cf
andmaster.cf
To restart postfix after editing configuration files
postfix restart
/etc/init.d/postfix restart
To reload postfix configuration file, main.cf
postfix reload
To mail aliases edit the below file
/etc/aliases
- smtpd_tls_cert_file - /etc/ssl/certs/dovecot.pem
- smtpd_tls_key_file - /etc/ssl/private/dovecot.pem
- smtpd_tls_CAfile - /etc/ssl/certs/ca-certificates.crt
- smtp_tls_CAfile - /etc/ssl/certs/ca-certificate.crt
- smtpd_use_tls - yes
fatal: no SASL authentication mechanisms
apt-get install sasl2-bin
warning: SASL: Connect to private/auth failed: No such file or directory see π
- mutt To install mutt
apt-get install mutt
edit the below file to set where mutt will look for the inbox
/etc/Muttrc
When upgrading from Debian Jessie 8.x to Debian Stretch 9.x postfix was not automatically starting via systemd, ie. would not start when the server was rebooted. To fix the above mentioned issue.
systemctl enable postfix@-
- VULTR π - Postifx & dovecot setup
- Digital Ocean - setup postfix
- Debian - Postfix and SASL
- Debian - Maildir Configuration
- Debian Mail Server with Postfix and Dovecot
- set up a simple mail server on Debian in 5 easy steps
- [ ]flesh out table of contents!
If you find any of this info helpful on your journey π click that π βοΈ star button. It sure makes me feel warm and fuzzy π» on the inside.
-
Linux and macOS Operation Notes
- β macOS Op Notes
- π§ Linux Op Notes
- Vim & Neovim Notes
- git Notes
- π fish shell Notes
- ECMAScript Tooling
- π₯§ Raspberry Pi Notes
- asdf version manager Notes
- Bind9 Notes
- Creating a custom motd on Debian Jessie
- ECMAScript Tooling
- Email client Notes
- Email Server Setup Notes Postfix & Dovecot
- Emoji side quest
- fish shell Notes
- π₯ π€ git it got it good Notes
- git Notes
- Graphics and Image Processing Notes
- GUI text editor Notes
- π»π§ Homebrew and Linuxbrew formula Notes
- Linux and macOS Administration Notes
- Linux and macOS Troubleshooting Notes
- MacBook Pro Late 2013 Notes
- Vim & Neovim Notes
- Video Production Notes
- Python Notes
- radare Notes
- Raspberry Pi Notes
- Terminal Emulators
- Tmux Notes
- Web Browser Notes
- Weechat Notes
- Microsoft Windows Notes