Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra-addon 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/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra-sites 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/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the uael 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/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Warning: Attempt to read property "post_title" on null in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-content/plugins/elementor/core/isolation/elementor-adapter.php on line 28

Deprecated: ¡La función WP_Dependencies->add_data() ha sido llamada con un argumento que está obsoleto desde la versión 6.9.0! Los comentarios condicionales de IE los ignoran todos los navegadores compatibles. in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260
Spam con Postfix y Limitar velocidad - ERA Hosting

Spam con Postfix y Limitar velocidad

Para ver una lista de la cola de correos:

#mailq

Para ver el numero de mensajes en la cola:

#postqueue -p | tail -n 1 | cut -d’ ’ -f5

Para ver el contenido de un mensaje:

#postcat -vq XXXXXXXXXX (el ID del mensaje)

Para borrar todos los mensjaes:

#postsuper -d ALL

Para borrar todos los mensajes retrasados:

#postsuper -d ALL deferred
y
#postsuper -d ALL defer

Para borrar mensajes de un remitente:

#perl postfix-borra.pl direccion@email.com (dentro de utiles, acepta expresines regulares)

Para ver espacio ocupado por carpetas:

#du -h

Para ver numero de archivos en carpetas:

find -maxdepth 1 -type d | while read -r dir; do printf “%s:\t” “$dir”; find “$dir” -type f | wc -l; done

LIMITAR LA VELOCIDAD DE ENVIO

Editar main.cf y agregar al final:

smtp_destination_concurrency_limit = 2
smtp_destination_rate_delay = 1s
smtp_extra_recipient_limit = 10

En resumen agrega 1 sg de retardo entre cada envio.

default_destination_concurrency_limit = 2
This means that postfix will up to two concurrent connections per receiving domains.
The default value is 20.

default_destination_rate_delay = 1s
Postfix will add a delay between each message to the same receiving domain. It overrides the previous rule and in this example, it will send one email after another with a delay of 1 second. If you want to disable this rule, either delete it or set to 0.

default_extra_recipient_limit = 10
Limit the number of recipients of each message. If a message had 20 recipients on the same domain, postfix will break it out to two different email messages instead of one.

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *