Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ad-inserter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114
Zimbra whitelist o blacklist per IP - Blog WebEats

Zimbra whitelist o blacklist per IP: Breve tutorial per mettere in blacklist o whitelist gli IP nella nostra installazione di Zimbra 8.5 o superiore. Utile per DoS e scenari di spam attack

Whitelist

Autentichiamoci come utente zimbra ed editiamo il file

sudo su zimbra
pico /opt/zimbra/conf/postfix_rbl_override

Aggiungiamo nel file /opt/zimbra/conf/postfix_rbl_override i nostri IP, uno per linea con uno spazio ed un OK, esempio:

1.2.3.4 OK
1.3.4.5 OK

Ora eseguiamo i seguenti comandi

postmap /opt/zimbra/conf/postfix_rbl_override
zmprov mcf +zimbraMtaRestriction 'check_client_access lmdb:/opt/zimbra/conf/postfix_rbl_override'

ATTENZIONE: Il comando postmap deve essere eseguito ogni volta che viene aggiunto o rimosso un IP dal file postfix_rbl_override.

Blacklist

Autentichiamoci come utente zimbra ed editiamo il file

sudo su zimbra
pico /opt/zimbra/conf/postfix_blacklist

Aggiungiamo nel file /opt/zimbra/conf/postfix_blacklist i nostri IP, uno per linea con uno spazio ed un REJECT, esempio:

1.2.3.4 OK
1.3.4.5 OK

Ora eseguiamo i seguenti comandi

postmap /opt/zimbra/conf/postfix_blacklist
zmprov mcf +zimbraMtaRestriction 'check_client_access lmdb:/opt/zimbra/conf/postfix_blacklist'

ATTENZIONE: Il comando postmap deve essere eseguito ogni volta che viene aggiunto o rimosso un IP dal file postfix_blacklist

Link al wiki ufficiale di Zimbra