DOKK / manpages / debian 10 / sensible-mda / sensible-mda.8.en
SENSIBLE-MDA(8) System Manager's Manual SENSIBLE-MDA(8)

sensible-mda - a generic local MDA router for Debian systems

sensible-mda from to detail client-addr

sensible-mda is used to simplify the installation and configuration of sendmail(8) , or other MTAs for use on Debian systems. With sensible-mda, sendmail can support a plethora of MDAs (procmail, maildrop, deliver, etc.) without having pick any one of them as required.

sensible-mda is called by sendmail as a local mailer when the following exists in sendmail.mc:
define(`LOCAL_MAILER_ARGS', `sensible-mda $g $u $h ${client_addr}')dnl

sensible-mda will look for the following MDAs (in this order), and pass the mail on to the first SUID MDA found (Or first found MDA, if run w/euid=root): procmail(1), maildrop(1), deliver(8), mail.local(8)

Available command line options are the following:

The sender of this email (sendmail $g variable)
The recipient of this email (sendmail $u variable)
The detail portion of the recipient userid (sendmail $h variable) - ie:
cowboy+sendmail@debian.org
TCP/IP address of the sender (sendmail ${client_addr} variable) Not used (for the nonce)

/etc/mail/sendmail.mc
sendmail m4 input to generate sendmail.cf
/etc/mail/sendmail.cf
actual sendmail configuration file (treated as a binary file)

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

None known so far.

Richard Nelson <cowboy@debian.org>

October 21 1999 4th Berkeley Distribution