Re: Invalid Headers

From: Mike Cathey (no email)
Date: Sat Dec 07 2002 - 12:30:42 EST


On Sat, 2002-12-07 at 11:46, Joshua Schmidlkofer wrote:
> Yes please, that is exactly what I am looking for. I will be migrating
> about 30 maildirs when this is all done. =) By my 50,000 messages would
> be a good start =P

See the attached code. I've made some modifications to it to make it a
bit more readable. I can't really run it right now, so please let me
know if I broke it. :)

If you still get errors, change the die()s to warn()s and at least then
you'll have a list of the messages that won't import. You should
probably use -w and strict as well. I normally do, but I was in a rush
to crank out this code for testing last Sunday.

Cheers,

Mike

-- 
Mike Cathey - http://www.mikecathey.com/
Network Administrator
RTC Internet - http://www.catt.com/











Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD