37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
|
Editing Files
|
||
|
============
|
||
|
|
||
|
- Keep the strings 'EMAIL' and 'REASON' intact (case sensitive, they are replaced on the fly)
|
||
|
- Edit www/index.html and replace @tesses.net with your specific domain like this @example.com
|
||
|
- Edit www/success.html and replace @tesses.net like with index.html
|
||
|
- Continue by replacing 'SMTP Server: mail.tesses.net' with 'SMTP Server: SMTPSUBDOMAIN.YOURDOMAIN'
|
||
|
- Continue by replacing 'IMAP Server: mail.tesses.net' with 'IMAP Server: IMAPSUBDOMAIN.YOURDOMAIN'
|
||
|
- Continue by editing or removing the line that looks like this '<a href="mail.tesses.net">On the Web</a>' if you edit it replace 'mail.tesses.net' with your rainloop instance or whatever web based mail you use
|
||
|
- Edit email.c by replacing 'tesses' with your admin user
|
||
|
- Continue by replacing 'mail' with your mail group
|
||
|
- Continue by replacing 'no_ssh' with your denied ssh group
|
||
|
- Continue by replacing 'sudo' with your sudoers group
|
||
|
|
||
|
What else to do
|
||
|
================
|
||
|
|
||
|
## Compile And Install
|
||
|
|
||
|
```bash
|
||
|
make
|
||
|
sudo make install
|
||
|
```
|
||
|
|
||
|
## Setup with Reverse Proxy (NGINX)
|
||
|
'''nginx
|
||
|
location /
|
||
|
{
|
||
|
proxy_pass http://127.0.0.1:2444;
|
||
|
}
|
||
|
'''
|
||
|
|
||
|
Uninstall
|
||
|
=========
|
||
|
```bash
|
||
|
sudo make uninstall
|
||
|
```
|