SENSIBLE-MDA(8)

πŸ’Œ SENSIBLE-MDA(8) πŸ’Œ

okay bestie, so this is a page from the System Manager's Manual, and it's about sensible-mda β€” a generic local MDA router for Debian systems. yes the manual name is literally right there in the title, i know, i know, but we're keeping the vibes cute and the facts intact. πŸ’…


✨ NAME ✨

sensible-mda β€” a generic local MDA router for Debian systems πŸŽ€


🌸 SYNOPSIS 🌸

sensible-mda from to detail client-addr

πŸ’– DESCRIPTION πŸ’–

so sensible-mda exists to make installing and configuring sendmail(8) β€” or other MTAs on Debian systems β€” so much simpler. with sensible-mda, sendmail can support a whole plethora of MDAs (procmail, maildrop, deliver, etc.) without having to pick any one of them as required. it's giving ✨polyamorous mail delivery✨ and honestly? iconic. πŸ”₯


πŸ¦‹ FUNCTION πŸ¦‹

sensible-mda gets called by sendmail as a local mailer when this little line lives in sendmail.mc:

define(`LOCAL_MAILER_ARGS', `sensible-mda $g $u $h ${client_addr}')dnl

then sensible-mda goes looking for the following MDAs, in this exact order, and hands the mail off to the first SUID MDA it finds (or the first MDA found, if it's run w/ euid=root): procmail(1), maildrop(1), deliver(8), mail.local(8). first come, first served, no cap. πŸ‘‘


πŸ’… OPTIONS πŸ’…

the command line options available are the following:

  • from β€” the sender of this email (that's the sendmail $g variable)
  • to β€” the recipient of this email (that's the sendmail $u variable)
  • detail β€” the detail portion of the recipient userid (that's the sendmail $h variable) β€” ie: cowboy+sendmail@debian.org
  • client-addr β€” the TCP/IP address of the sender (that's the sendmail ${client_addr} variable). not used (for the nonce) πŸ™ˆ

πŸŽ€ FILES πŸŽ€

  • /etc/mail/sendmail.mc β€” sendmail m4 input used to generate sendmail.cf
  • /etc/mail/sendmail.cf β€” the actual sendmail configuration file (treated as a binary file)

🌈 SEE ALSO 🌈

sendmail(8), procmail(1), maildrop(1), deliver(8), mail.local(8)


πŸ’€ BUGS πŸ’€

none known so far. (we're as shocked as you are. slay. ✨)


πŸ‘‘ AUTHOR πŸ‘‘

Richard Nelson <cowboy@debian.org>


🫢 HISTORY 🫢

this beauty comes to you from the 4th Berkeley Distribution, dated October 21 1999. yeah, it's a vintage queen and she still eats. πŸ’– periodt.