[Mimedefang] Block internal messages

Richard Laager rlaager at wiktel.com
Mon Dec 26 21:38:54 EST 2016

On 12/26/2016 03:35 PM, Marcelo Machado wrote:
> I am new to Mimedefang and I would like to know if it is possible to
> block internal messages, (from my domain to my domain) if the number
> of recipients is greater than 10.

Anything is possible if you write the custom Perl code required. What
you have described wouldn't be too terribly hard. No, that's not an
offer to write it. Look at the @Recipients array. In there, you can
determine if some recipients are local, and how many. The $Sender
variable is how you'd determine if the sender is local.


More information about the MIMEDefang mailing list