Fix code for detecting the value of Status: and add regular expressions from smtpd/mta.c and smtpd/queue.c