Skip to content

Commit 77799d8

Browse files
README.md
1 parent 6913ed2 commit 77799d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,20 @@ Automate adding domains and IP addresses to Postfix and Postgrey whitelists on M
2929
### Usage
3030

3131
**Single entry**
32-
3332
sudo ./add_whitelists.sh example.com
3433
# or
3534
sudo ./add_whitelists.sh 203.0.113.7
3635

3736
**Bulk from a file**
3837

3938
1) Create a file `whitelists.txt` with one domain or IP per line (blank lines and `#` comments are ignored):
40-
39+
4140
example.com
4241
mail.example.org
4342
192.168.1.10
44-
4543

4644
2) Run:
47-
45+
4846
sudo ./add_whitelists.sh -f whitelists.txt
4947

5048
### What the script does

0 commit comments

Comments
 (0)