clean up the mailrelay stuff