Sanitize imported posts, fixup config