Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core
Commits: 19e2aebe by Mark Sapiro at 2021-10-24T12:43:56-07:00 Update mta doc for Sendmail. - - - - - df4eb855 by Mark Sapiro at 2021-10-24T20:08:36+00:00 Merge branch 'sendmail' into 'master' Update mta doc for Sendmail. See merge request mailman/mailman!930 - - - - - 1 changed file: - src/mailman/docs/mta.rst Changes: ===================================== src/mailman/docs/mta.rst ===================================== @@ -450,52 +450,12 @@ Sendmail ======== The core Mailman developers generally do not use Sendmail, so experience is -limited. Any and all contributions are welcome! The follow information from -a post by Gary Algier <g...@ulticom.com> may be useful as a starting point, -although it describes Mailman 2: - - I have it working fine. I recently replaced a very old implementation - of sendmail and Mailman 2 on Solaris with a new one on CentOS 6. When I - did so, I used the POSTFIX_ALIAS_CMD mechanism to automatically process - the aliases. See:: - - https://mail.python.org/pipermail/mailman-users/2004-June/037518.html - - In mm_cfg.py:: - - MTA='Postfix' - POSTFIX_ALIAS_CMD = '/usr/bin/sudo /etc/mail/import-mailman-aliases' - - /etc/mail/import-mailman-aliases contains:: - - #! /bin/sh - /bin/cp /etc/mailman/aliases /etc/mail/mailman.aliases - /usr/bin/newaliases - - In /etc/sudoers.d/mailman:: - - Cmnd_Alias IMPORT_MAILMAN_ALIASES = /etc/mail/import-mailman-aliases - apache ALL= NOPASSWD: IMPORT_MAILMAN_ALIASES - mailman ALL= NOPASSWD: IMPORT_MAILMAN_ALIASES - Defaults!IMPORT_MAILMAN_ALIASES !requiretty - - In the sendmail.mc file I changed:: - - define(`ALIAS_FILE', `/etc/aliases')dnl - - to:: - - define(`ALIAS_FILE', `/etc/aliases,/etc/mail/mailman.aliases')dnl - - so that the Mailman aliases would be in a separate file. - -The main issue here is that Mailman 2 expects to receive messages from -the MTA via pipes, whereas Mailman 3 uses LMTP exclusively. Recent -Sendmail does support LMTP, so it's a matter of configuring a stock -Sendmail. But rather than using aliases, it needs to be configured to -relay to the LMTP port of Mailman. +limited. Any and all contributions are welcome! There is one such +contribution on GitHub_ and another in comments at this issue_. +.. _GitHub: https://gist.github.com/Maeglin73/72eb5b1e4ee66a383c2aa454726be9a5 +.. _issue: https://gitlab.com/mailman/mailman/-/issues/307#note_632495542 .. _`mailing list or on IRC`: START.html#contact-us .. _`Local Mail Transfer Protocol`: https://en.wikipedia.org/wiki/Local_Mail_Transfer_Protocol View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/ba2bdf7250b9c2666f1c8e37290932e15978dc13...df4eb855e2bebc096ad235fc4ed3b2035878474d -- View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/ba2bdf7250b9c2666f1c8e37290932e15978dc13...df4eb855e2bebc096ad235fc4ed3b2035878474d You're receiving this email because of your account on gitlab.com.
_______________________________________________ Mailman-checkins mailing list -- mailman-checkins@python.org To unsubscribe send an email to mailman-checkins-le...@python.org https://mail.python.org/mailman3/lists/mailman-checkins.python.org/ Member address: arch...@jab.org