accept mail only from tilde servers
This commit is contained in:
parent
c7d5358dce
commit
8a1b3b2f54
4
Makefile
4
Makefile
|
@ -54,8 +54,8 @@ menu:
|
|||
|
||||
postfix:
|
||||
if ! grep -q 'transport_maps' "/etc/postfix/main.cf"; then \
|
||||
printf "transport_maps = hash:/etc/postfix/transport" >> "/etc/postfix/main.cf"; \
|
||||
printf "smtpd_sender_restrictions = hash:/etc/postfix/access" >> "/etc/postfix/main.cf"; \
|
||||
printf "transport_maps = hash:/etc/postfix/transport\n" >> "/etc/postfix/main.cf"; \
|
||||
printf "smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/access, reject" >> "/etc/postfix/main.cf"; \
|
||||
fi
|
||||
stow -t "/etc/postfix" postfix
|
||||
sudo chown root /etc/postfix/transport
|
||||
|
|
|
@ -1,42 +1,41 @@
|
|||
cosmic.voyage ALLOW
|
||||
.aussies.space ALLOW
|
||||
.circumlunar.space ALLOW
|
||||
.hashbang.sh ALLOW
|
||||
.thunix.cf ALLOW
|
||||
.thunix.net ALLOW
|
||||
.tildeverse.org ALLOW
|
||||
aussies.space ALLOW
|
||||
circumlunar.space ALLOW
|
||||
ctrl-c.club ALLOW
|
||||
envs.net ALLOW
|
||||
radiofreqs.space ALLOW
|
||||
rw.rs ALLOW
|
||||
fuckup.club ALLOW
|
||||
grex.org ALLOW
|
||||
hashbang.sh ALLOW
|
||||
nand.sh ALLOW
|
||||
rawtext.club ALLOW
|
||||
sdf.org ALLOW
|
||||
thunix.cf ALLOW
|
||||
thunix.net ALLOW
|
||||
tild3.org ALLOW
|
||||
tilde.chat ALLOW
|
||||
tilde.club ALLOW
|
||||
tilde.institute ALLOW
|
||||
tilde.life ALLOW
|
||||
tilde.news ALLOW
|
||||
tilde.pink ALLOW
|
||||
tilde.site ALLOW
|
||||
tilde.team ALLOW
|
||||
tilde.town ALLOW
|
||||
tilde.wiki ALLOW
|
||||
tilde.wtf ALLOW
|
||||
tilde.zone ALLOW
|
||||
tildegit.org ALLOW
|
||||
tildenet.org ALLOW
|
||||
tilderadio.org ALLOW
|
||||
tildeteam.org ALLOW
|
||||
tildeverse.org ALLOW
|
||||
ttm.sh ALLOW
|
||||
yourtilde.com ALLOW
|
||||
* REJECT
|
||||
cosmic.voyage permit_auth_destination
|
||||
.aussies.space permit_auth_destination
|
||||
.circumlunar.space permit_auth_destination
|
||||
.hashbang.sh permit_auth_destination
|
||||
.thunix.cf permit_auth_destination
|
||||
.thunix.net permit_auth_destination
|
||||
.tildeverse.org permit_auth_destination
|
||||
aussies.space permit_auth_destination
|
||||
circumlunar.space permit_auth_destination
|
||||
ctrl-c.club permit_auth_destination
|
||||
envs.net permit_auth_destination
|
||||
radiofreqs.space permit_auth_destination
|
||||
rw.rs permit_auth_destination
|
||||
fuckup.club permit_auth_destination
|
||||
grex.org permit_auth_destination
|
||||
hashbang.sh permit_auth_destination
|
||||
nand.sh permit_auth_destination
|
||||
rawtext.club permit_auth_destination
|
||||
sdf.org permit_auth_destination
|
||||
thunix.cf permit_auth_destination
|
||||
thunix.net permit_auth_destination
|
||||
tild3.org permit_auth_destination
|
||||
tilde.chat permit_auth_destination
|
||||
tilde.club permit_auth_destination
|
||||
tilde.institute permit_auth_destination
|
||||
tilde.life permit_auth_destination
|
||||
tilde.news permit_auth_destination
|
||||
tilde.pink permit_auth_destination
|
||||
tilde.site permit_auth_destination
|
||||
tilde.team permit_auth_destination
|
||||
tilde.town permit_auth_destination
|
||||
tilde.wiki permit_auth_destination
|
||||
tilde.wtf permit_auth_destination
|
||||
tilde.zone permit_auth_destination
|
||||
tildegit.org permit_auth_destination
|
||||
tildenet.org permit_auth_destination
|
||||
tilderadio.org permit_auth_destination
|
||||
tildeteam.org permit_auth_destination
|
||||
tildeverse.org permit_auth_destination
|
||||
ttm.sh permit_auth_destination
|
||||
yourtilde.com permit_auth_destination
|
||||
|
|
Loading…
Reference in New Issue