'Extract a date, sanity checking against the Received: headers.'

def _extract_date_ts(self, session, msg_mid, msg_id, msg, default):

    return (safe_message_ts(msg, default=default, msg_mid=msg_mid, msg_id=msg_id, session=session) or int((time.time() - 1)))
