Both sides previous revision Previous revision Next revision | Previous revision |
home_server:email_server [2022-01-16 Sun wk02 11:12] – baumkp | home_server:email_server [2024-03-24 Sun wk12 16:01] (current) – [Email Client Setup Hint] baumkp |
---|
Setting up the email server on my home server was probably the most difficult task. Email server setup is intricate, risky and involves significant commitment and effort to setup reliably and maintain. | Setting up the email server on my home server was probably the most difficult task. Email server setup is intricate, risky and involves significant commitment and effort to setup reliably and maintain. |
| |
My current email server is based upon [[https://workaround.org/ispmail|workaround.org]] ISPmail tutorials for a Debian based server. I first got this up and running in later 2020 on Debian 10 (Buster). The most current is [[https://workaround.org/ispmail/bullseye/|ISPmail guide for Debian 11 “Bullseye”]] that was release late 2021 a couple of months after the Bullseye release. | My current email server is based upon [[https://workaround.org/ispmail|workaround.org]] ISPmail tutorials for a Debian based server. I first got this up and running in later 2020 on Debian 10 (Buster). The most current is [[https://workaround.org/ispmail/bullseye/|ISPmail guide for Debian 12 “Bookworm”]] that was release in 2023 shortly after the Bookworm release. |
| |
====VM Setup==== | ====VM Setup==== |
* ''sudo apachectl configtest'' to test an apach2 configuration | * ''sudo apachectl configtest'' to test an apach2 configuration |
* ''sudo systemctl reload apache2'' to restart apache2 and enable any configuration changes, could also use ''restart'' instead of ''reload'' to test (dry) run the certbot renewal process. Cerbot only allow 5 new certificates for a domain per week. | * ''sudo systemctl reload apache2'' to restart apache2 and enable any configuration changes, could also use ''restart'' instead of ''reload'' to test (dry) run the certbot renewal process. Cerbot only allow 5 new certificates for a domain per week. |
| * ''sudo certbot renew --dry-run'' for certificate renewal test |
| * ''sudo certbot renew'' for certificate renewal run |
| |
Use ''sudo apache2 -S'' to get current status | Use ''sudo apache2 -S'' to get current status |
SMTP Client Settings | SMTP Client Settings |
Server: mail.example.com | Server: mail.example.com |
Port: 567 | Port: 587 |
TICK, Server requires authentication | TICK, Server requires authentication |
Encryption Method: TLS (start after connecting) (or STARTTLS) | Encryption Method: TLS (start after connecting) (or STARTTLS) |