mda-lmtp - MDA that uses LMTP to do the mail delivery
mda-lmtp [-addr_network net] -addr addr -d recipient -f from
mda-lmtp is a very basic MDA that uses LMTP to do the mail delivery.
It takes command line arguments similar to maildrop or procmail, reads an email via standard input, and sends it over the given LMTP server. Supports connecting to LMTP servers over UNIX sockets and TCP.
It can be used when your mail server does not support LMTP directly.
mda-lmtp --addr=localhost:1234 -f juan@casa -d jose < email
-addr address
LMTP server address to connect to.
-addr_network network
Network of the LMTP address (e.g. unix or tcp). If not present, it will be autodetected from the address itself.
-d recipient
Recipient.
-f from
Whom the message is from.
0
success
75
temporary failure
other
permanent failures (usually indicate misconfiguration)