:0
* filter_mime ?? y
{
	# Pass the mail trough MimeFilter
	:0 fw
	| mimefilter

	# Executed if MimeFilter died
	:0 e
	{
		:0 hfw
		| formail -A "X-Diagnostic: MIME filtering failed"

		HOST=continue_with_rc.request
	}

	# Trash empty messages (author's already been warned by MimeFilter)
	:0 Bh
	* < 1
	/dev/null
}

RC_LOCAL_SUBMIT_10
