fix spoolfile and mailboxes