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

    https://survey.webpros.com/

Blocking mail recipients

D

dizzan

Guest
Has anyone found a (semi-) easy way to block qmail from sending mail to a specified list of recipients?

There's a qmail patch that enables a 'badmailto' file similiar to the badmailfrom file. This would be exactly what I need, but I don't really want to recompile qmail.

Also, I found this plugin for qmail-spp: http://qmail-spp.sourceforge.net/downloads/show_src.php?file=badrcptto_php
but every time I enable and configure it, all my mail fails regardless of what's in the badrcptto list.

Has anyone successfully accomplished blocking outgoing mail to certain recipients at the SMTP level?

Thanks in advance for any help.

Dan
 
Back
Top