added helper scripts to change the TTL

This commit is contained in:
User1000001 2021-04-18 20:42:16 +02:00
parent 280eecf00a
commit 0c618d72da
2 changed files with 4 additions and 0 deletions

2
tools/set_ttl_to_1_day.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
sed -i "s/^TTL=.*/TTL=86400/" /etc/mailinabox.conf

2
tools/set_ttl_to_5_minutes.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
sed -i "s/^TTL=.*/TTL=1800/" /etc/mailinabox.conf