Skip to content

Commit 9031c81

Browse files
committed
feat: update email domains to rectitude.dev across documentation and scripts
1 parent 3d59170 commit 9031c81

File tree

12 files changed

+32
-30
lines changed

12 files changed

+32
-30
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# BambooFort Collective
22

3+
https://bamboofort.rectitude.dev
4+
35
BambooFort Collective is a security implementation guide for web servers in low-resource environments. Through documented best practices and automation scripts, we show how to configure servers securely while effectively integrating open-source security tools (ModSecurity, Monit, Lynis, etc.) on AlmaLinux systems. These battle-tested configurations help small-scale web deployments achieve optimal security without overburdening limited resources.
46

57
**竹盾安全集**是一套针对低资源网站服务器环境的安全实施指南。我们通过文档化的最佳实践和自动化脚本,展示如何在 AlmaLinux 系统上安全配置服务器及有效组合开源安全工具(如 ModSecurity、Monit、Lynis 等)。这些经过生产环境检验的配置方案,帮助中小型网站部署在有限资源下实现最优安全防护。

docs/logwatch.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ cp -f /usr/share/logwatch/default.conf/logwatch.conf /etc/logwatch/conf/logwatch
2828
### Configure email address for dalily report
2929

3030
```ini title="/etc/logwatch/conf/logwatch.conf"
31-
MailTo = support@rectitude.cc
32-
MailFrom = [email protected].cc
31+
MailTo = support@rectitude.dev
32+
MailFrom = [email protected].dev
3333
Range = yesterday
3434
Detail = Med
3535
```
@@ -40,9 +40,9 @@ Detail = Med
4040
# View report for yesterday
4141
logwatch --range yesterday
4242
# View report for today and send to email
43-
logwatch --range yesterday --mailto support@rectitude.cc
43+
logwatch --range yesterday --mailto support@rectitude.dev
4444
# View report for today with medium detail and send to email
45-
logwatch --range today --detail med --mailto support@rectitude.cc
45+
logwatch --range today --detail med --mailto support@rectitude.dev
4646

4747
# Built-in service configuration
4848
cd /usr/share/logwatch/default.conf/
@@ -53,7 +53,7 @@ cd /usr/share/logwatch/default.conf/
5353
Run `crontab -e`
5454

5555
```bash
56-
00 04 * * * /usr/sbin/logwatch --range yesterday --mailto support@rectitude.cc
56+
00 04 * * * /usr/sbin/logwatch --range yesterday --mailto support@rectitude.dev
5757
```
5858

5959
<!-- TODO: ADD Folder Structure -->

docs/maldetect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ cd maldetect-<version>
2626

2727
```ini title="/usr/local/maldetect/conf.maldet"
2828
email_alert="1"
29-
email_addr="admin@rectitude.cc"
29+
email_addr="admin@rectitude.dev"
3030
email_ignore_clean="0"
3131
autoupdate_signatures="1"
3232
cron_prune_days="35"

docs/postfix-s-nail.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ import TabItem from '@theme/TabItem';
1313

1414
### Prepare
1515

16-
| Variable | Example1 | Example2 |
17-
| ------------------ | ------------------- | ---------------------------- |
18-
| smtp-server | mail.spacemail.com | smtpdm.aliyun.com |
19-
| smtp-port | 465 | 465 |
20-
| sender-domain | rectitude.cc | no-reply.rectitude.cc |
21-
| user@sender-domain | server@rectitude.cc | [email protected].cc |
22-
| password | \*\*\*\* | \*\*\*\* |
16+
| Variable | Example1 | Example2 |
17+
| ------------------ | -------------------- | ----------------------------- |
18+
| smtp-server | mail.spacemail.com | smtpdm.aliyun.com |
19+
| smtp-port | 465 | 465 |
20+
| sender-domain | rectitude.dev | no-reply.rectitude.dev |
21+
| user@sender-domain | server@rectitude.dev | [email protected].dev |
22+
| password | \*\*\*\* | \*\*\*\* |
2323

2424
### Install Postfix
2525

@@ -58,24 +58,24 @@ smtp_sasl_security_options = noanonymous
5858
smtp_sasl_tls_security_options = noanonymous
5959
smtp_tls_wrappermode = yes
6060
smtp_tls_security_level = encrypt
61-
# e.g. webserver1.rectitude.cc
61+
# e.g. webserver1.rectitude.dev
6262
myhostname = <server-hostname.domain.com>
63-
# e.g. noreply.rectitude.cc
63+
# e.g. noreply.rectitude.dev
6464
myorigin = <sender-domain>
6565
sender_canonical_maps = hash:/etc/postfix/sender_canonical
6666
```
6767

6868
### Configure SMTP Authentication
6969

7070
```bash title="/etc/postfix/sasl_passwd"
71-
# e.g. [smtpdm.aliyun.com]:465 [email protected].cc:password
71+
# e.g. [smtpdm.aliyun.com]:465 [email protected].dev:password
7272
[<smtp-server>]:<smtp-port> <user@sender-domain>:<password>
7373
```
7474

7575
### Configure Sender Canonical
7676

7777
```bash title="/etc/postfix/sender_canonical"
78-
78+
7979
root@<sender-domain> <user@sender-domain>
8080
```
8181

@@ -98,14 +98,14 @@ dnf install s-nail
9898
### Configure S-nail
9999

100100
```bash title="~/.mailrc"
101-
# e.g. set from="WebServer1 <[email protected].cc>"
101+
# e.g. set from="WebServer1 <[email protected].dev>"
102102
set from="WebServer1 <<user@sender-domain>>"
103103
```
104104

105105
### Send a Test Email
106106

107107
```bash
108-
echo "Test Email Body" | s-nail -s "Test Subject" admin@rectitude.cc
108+
echo "Test Email Body" | s-nail -s "Test Subject" admin@rectitude.dev
109109
```
110110

111111
### Useful Commands

docs/system-hardening.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ UMASK 027
116116

117117
```bash title="/etc/hosts"
118118
127.0.1.1 <hostname> <FQDN>
119-
# e.g.: 127.0.1.1 webserver1 webserver1.rectitude.cc
119+
# e.g.: 127.0.1.1 webserver1 webserver1.rectitude.dev
120120
```
121121

122122
### Prevent unnecessary kernel modules

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const config: Config = {
1212
favicon: 'img/favicon.ico',
1313

1414
// Set the production url of your site here
15-
url: 'https://bamboofort.rectitude.cc',
15+
url: 'https://bamboofort.rectitude.dev',
1616
// Set the /<baseUrl>/ pathname under which your site is served
1717
// For GitHub pages deployment, it is often '/<projectName>/'
1818
baseUrl: '/',

playbooks/inotify-file-monitor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
vars:
55
monitor_dirs: "/home/wwwroot/aaa.com/public/wp-admin /home/wwwroot/aaa.com/public/wp-includes"
66
exclude_pattern: "(^/home/wwwroot/aaa.com/public/wp-admin/images)"
7-
email_to: "admin@rectitude.cc"
7+
email_to: "admin@rectitude.dev"
88
email_subject: "File Tampering Detected"
99
buffer_time: 60
1010
log_file: "/var/log/inotify_file_monitor.log"

playbooks/logwatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
hosts: all
33
remote_user: root
44
vars:
5-
mail_to: support@rectitude.cc
6-
mail_from: [email protected].cc
5+
mail_to: support@rectitude.dev
6+
mail_from: [email protected].dev
77
cron_hour: "04"
88
cron_minute: "00"
99

playbooks/maldetect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
hosts: all
33
remote_user: root
44
vars:
5-
email_addr: "admin@rectitude.cc"
5+
email_addr: "admin@rectitude.dev"
66
inotify_docroot: "/home/wwwroot"
77

88
tasks:

playbooks/postfix-s-nail.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
vars:
55
smtp_server: mail.spacemail.com
66
smtp_port: 465
7-
sender_domain: no-reply.rectitude.cc
8-
user_at_sender_domain: [email protected].cc
7+
sender_domain: no-reply.rectitude.dev
8+
user_at_sender_domain: [email protected].dev
99
password: "******"
1010
mail_sender_name: "WebServer1"
11-
current_hostname: "server.rectitude.cc"
11+
current_hostname: "server.rectitude.dev"
1212

1313
tasks:
1414
- name: Install Postfix and S-Nail

0 commit comments

Comments
 (0)