mda-lmtp(1)
π mda-lmtp β the manual, but make it make sense
okay bestie, gather round, because we're talking about mda-lmtp from the mda-lmtp(1) manual, and honestly? it's giving "small tool, big job" energy. π
β¨ NAME β¨
mda-lmtp β an MDA that uses LMTP to do the mail delivery π¦
(an MDA is a Mail Delivery Agent, iykyk, and this one's whole personality is "I hand your mail to LMTP and I do it well") π
β¨ SYNOPSIS β¨
mda-lmtp [-addr_network net] -addr addr -d recipient -f from
that's the whole vibe check right there. one line, four-ish flags, no drama. π
β¨ DESCRIPTION β¨
so. mda-lmtp is a very basic MDA that uses LMTP to do the mail delivery. lowkey humble, highkey useful. π
it takes command line arguments similar to maildrop or procmail, reads an email via standard input, and sends it over the given LMTP server. and the way it's flexible?? it supports connecting to LMTP servers over UNIX sockets and TCP. versatile queen. π
it can be used when your mail server does not support LMTP directly. literally the friend who shows up when the group chat can't figure it out. π«Ά
β¨ EXAMPLE β¨
here's what it looks like in the wild, and yes it ate:
mda-lmtp --addr=localhost:1234 -f juan@casa -d jose < email
juan@casa is sending, jose is receiving, localhost:1234 is the LMTP server, and email gets piped in through stdin. main character pipeline behaviour, no cap. π«
β¨ OPTIONS β¨
one bullet per flag, bestie, because we do NOT skip options in this house π π
-addraddress β the LMTP server address you want to connect to. that's it, that's the whole thing. π¬-addr_networknetwork β the network of the LMTP address (e.g.unixortcp). if it's not present, it will be autodetected from the address itself. she's self-sufficient, we love that. β¨-drecipient β the recipient. who's getting the mail. the lucky one. π-ffrom β whom the message is from. the sender. the origin story. π
β¨ RETURN VALUES β¨
exit codes matter, bestie, they're how your scripts know what happened π
0β success. we love a happy ending. π₯³75β temporary failure. not today, but maybe tomorrow. π- other β permanent failures (usually indicate misconfiguration). and yeah, that's the usually indicate misconfiguration one, so check your flags before you spiral. π
β¨ SEE ALSO β¨
chasquid(1)π
ngl bestie, if your mail server refuses to speak LMTP directly, this is your girl. treat her right and she'll deliver. πΈ
that's the whole page, fr fr. this was mda-lmtp(1) from the mda-lmtp manual, dated 2018-04-02 β yes, she's been iconic since 2018 and she's still slaying. ππβ¨ periodt.
π¦ where this page comes from
- ubuntu resolute: chasquid 1.16.0-1 Β· Apache-2.0
- ubuntu stonking: chasquid 1.18.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms