First, it doesn' t use a local binary for composing messages but only operates on direct sockets which means a MTA is needed listening on a network socket (which can either on the localhost or a remote machine).
RFC 1896, RFC 2045, RFC 2046, RFC 2047, RFC 2048 et RFC 2049.