Hi, I would like to implement Open Dkim on my server but I don't want to broke postfix.. Actually there is some filter like RBL, SPF.. And second thinks, I would like to prevent my server to be a source of spam; for this.. I've an idea but don't know if it's possible and how to do it.. So, it should be a cron, this One check the queue (postfix) and if queue > X then I disable the account.. But how to do that? Thanks !!!
For DKIM is easy, you only have to install this patch: http://blog.schaal-24.de/ispconfig/dkim-patch-1-0/?lang=en For the spam thing, I have a script running every hour that mails me if there are more than 20 mails on queue: PHP: #!/bin/shcorreo='[email protected]' # your maillimite=20 # when queue reach this limit it mails youcola=$(mailq | grep -c "^[A-Z0-9]")echo $cola' mails on queue' > /tmp/cola.txtif [ "$cola" -ge "$limite" ]; thenmail -s "ALERT: $cola mails on queue" $correo < /tmp/cola.txtfi