[Mimedefang] Disabling outbound mail filtering?

David F. Skoll dfs at roaringpenguin.com
Tue Oct 7 10:05:01 EDT 2003


On Mon, 6 Oct 2003, brian wrote:

> I'm not sure option 2 is enough... we have a job scheduled that sends out a
> LARGE amount of outgoing mail in a short period of time (notifications for
> our site basically), and this crippled the mail server last night.  10 or
> so perl mimedefang processes were spawned, each at 20+ megs a piece,
> quickly caused the system to start thrashing as they were mostly loaded
> into virtual memory.

In filter_relay, put this:

sub filter_relay {
	my($ip, $hostname, $helo);
	if ($ip eq "ip.of.machine.sending-large-job") {
		return ("ACCEPT_AND_NO_MORE_FILTERING", "ok");
	}
}

That's as efficient as MIMEDefang can make it, and should help quite a lot.

Regards,

David.



More information about the MIMEDefang mailing list