[WO-634] Added 'lmtp' option to use LMTP protocol instead of SMTP for local delivery

Includes some automatic whitespace fixes