• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

solved - DNS Blackhole Lists over CLI, possible?

ESTUGO

Basic Pleskian
Hi there,

how can I update the "Blackhole Lists" using CLI (Plesk12/12.5 CentOS6/7)? I have found nothing in the manual. I mean the list under: Tools a. Settings -> Mail Server Settings -> DNS zones for DNSBL service

I used Postfix.

Of course I can edit /etc/postfx/main.cf, but Plesk can overrides sometime my the settings, or?


many thanks
Erik
 
Hi Erik,

Plesk comes with a bunch of possible CLI - commands, which you all can learn using by reading the Plesk documentation: Using Command Line Utilities ( Plesk 12.5 online documentation )

You will find there as well: mailserver: Mail Server Settings

... as for example:

Code:
plesk bin mailserver --add-maps-zone sbl.spamhaus.org;xbl.spamhaus.org
plesk bin mailserver --set-maps-status true

These commands will modify your "main.cf" ( smtpd_client_restrictions = ... ) from postfix with the desired maps-zones, which Plesk will never change in case of any updates/upgrades/patches, because your modification is as well stored in Plesk database table "ServiceNodeConfiguration".
 
really really nice, it works, many tanks! One could call it differently, e.g. blackhole or dnsbl ... xD
 
Back
Top