[Mimedefang] MySQL/SA and mimedefang

David F. Skoll dfs at roaringpenguin.com
Fri Jul 4 10:33:01 EDT 2003


On Fri, 4 Jul 2003, Chris Myers wrote:

[ A tagging-in-MIMEDefang followed by processing-in-procmail scheme]

That's an excellent way to handle it.  In general, you want to do
per-message processor-intensive processing in MIMEDefang, and per-user
disposition in the LDA (procmail).

You can even add special headers with the relay address and relay hostname
so procmail can pick them out more easily.

One thing to watch out for:  If you're communicating information from
MIMEDefang to procmail using headers, you should use this idiom:

	# Clean out any existing "X-Foo" headers in case spammer adds them!
	action_delete_all_headers('X-Foo');

	# Now add ours
	action_add_header('X-Foo', 'Data communicated from MD to procmail');

--
David.



More information about the MIMEDefang mailing list