- SMTP delivery now has from and to labels for local addresses
- correctly test for "smtpdeliver" variable without crashing - new method for safely getting values from config even if the option may be missing
- thread can deliver incoming messages over SMTP - this commit just contains the thread, subsequent commits will enable it