From 6f91f0efd062bf8b6d9cf0779dd6a9f865bda5de Mon Sep 17 00:00:00 2001 From: Anatoli Nicolae Date: Sat, 9 Mar 2024 14:29:30 +0100 Subject: [PATCH] Add inbound email note Signed-off-by: Anatoli Nicolae --- notes/unblock-addresses.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/notes/unblock-addresses.md b/notes/unblock-addresses.md index 81f59b8..377afe9 100644 --- a/notes/unblock-addresses.md +++ b/notes/unblock-addresses.md @@ -35,3 +35,11 @@ All commands above can be also run against a specific IP e.g. Problem fat-fingering passwords + dynamic IP? Use `cp.whitelist-access true` to always permit panel access even if banned. Only `rampart:blacklist` has precedence when set. + +## Temporarily whitelist IP for inbound email + +Temporarily whitelisting a blocked IP (i.e.: listed at spamcop.net) can be achived by adding the IP to `/etc/postfix/postscreen_access.cidr`, either IP or in CIDR notation (`1.2.3.4/24`), then applying via `postmap`: + +```bash +postmap /etc/postfix/postscreen_access.cidr +```