• LMTP

    From JKB@21:1/5 to All on Mon Feb 22 21:03:56 2021
    Hello,

    I use sendmail for a very long time with procmail and courier-imap-ssl.
    Sendmail acts as a MX and SMTP. MX calls procmail and store mails in
    user's maildirs. SMTP is configured with sasl2.

    On a Linux Devuan server, I have to interface sendmail to mailman3 that only
    understand LMTP. I have tried different configurations without success.

    I have seen that procmal can be built with MLTP support, but I haven't found
    any documentation to configure it. I have tried to use a imap to LMTP
    (pullimap) but this tool panics when it is used on courier-imap.

    My question is very simple : how can I configure sendmail to deliver mails
    in user's maildirs by procmail and to mailman3 by LMTP ?

    Thanks in advance,

    JKB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to JKB on Mon Feb 22 21:25:07 2021
    On 2/22/21 2:03 PM, JKB wrote:
    Hello,

    Hi,

    Sendmail acts as a MX and SMTP. MX calls procmail and store mails in
    user's maildirs. SMTP is configured with sasl2.

    Okay.

    On a Linux Devuan server, I have to interface sendmail to mailman3
    that only understand LMTP. I have tried different configurations
    without success.

    What have you tried?

    I have seen that procmal can be built with MLTP support, but I haven't
    found any documentation to configure it.

    I would think that you would bypass procmail and send messages directly
    into Mailman v3.

    Question: Are your mailing lists in their own (sub)domain? Or are they
    mixed in with other email addresses? -- In other words, can Sendmail
    be configured to route (relay) all messages to Mailman a la. mailertable routing?

    Aside: If the addresses are mixed, I wonder how effective it would be
    to move the mailing lists to a different (sub)domain and use forwards to
    get to them. E.g. mailinglist@hilbert.invalid forwards to mailinglist@mailman.hilbert.invalid where Mailman is configured.

    I have tried to use a imap to LMTP (pullimap) but this tool panics
    when it is used on courier-imap.

    I'm not familiar with that.

    My question is very simple : how can I configure sendmail to deliver
    mails in user's maildirs by procmail and to mailman3 by LMTP ?

    Mailertable makes it trivial to send all messages for a domain to a
    given mailer.

    I am fairly certain that you can only use one mailer per domain. Hence
    why having Mailman on a separate (sub)domain from the rest of the mailboxes.

    If you do continue to use procmail, I would expect that you could call a
    custom program from procmail that reads STDIN from procmail's STDOUT and
    then converts and speaks LMTP to Mailman.

    It's been a *LONG* time, but I do believe that I had Sendmail speaking
    LMTP to procmail. So, I would expect that Sendmail can also be
    configured to speak LMTP directly to Mailman.

    Finally, I know that LDAP routing (which does not /require/ LDAP and can
    be done with files) can route different messages within the same domain
    to different places. Perhaps this functionality could be leveraged if
    Mailman is mixed in with other mailboxes. I don't know. I'm speculating.

    Thanks in advance,

    You're welcome.

    It's definitely not an answer. But hopefully I've given you something
    to think about.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to JKB on Tue Feb 23 04:24:20 2021
    JKB wrote:

    I have seen that procmal can be built with MLTP support, but I haven't found
    any documentation to configure it. I have tried to use a imap to LMTP

    Doesn't your procmail source code mention LMTP?
    fgrep LMTP * 2>/dev/null
    FEATURES: + Can act as an LMTP server for reliable multiple recipient delivery
    HISTORY: - Support LMTP for delivery mode (not enabled by default)

    Manifest: procmail as its local delivery agent via LMTP. Procmail
    Manifest: *MUST* be compiled with LMTP support (see config.h) or config.h:#define LMTP /* uncomment this if you
    config.h: as an LMTP (rfc2033) server, presumably for invocation by an MTA.


    My question is very simple : how can I configure sendmail to deliver mails
    in user's maildirs by procmail and to mailman3 by LMTP ?

    How do you select the two different MDAs right now?
    If you use different mailers, then set the proper mailer flag:

    z Run Local Mail Transfer Protocol (LMTP) between
    sendmail and the local mailer.

    See also cf/README for LMTP.

    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Mon Feb 22 21:26:14 2021
    On 2/22/21 9:24 PM, Claus Aßmann wrote:
    z Run Local Mail Transfer Protocol (LMTP) between
    sendmail and the local mailer.

    Thank you for confirming that Sendmail can speak LMTP to the LDA.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Tue Feb 23 07:02:30 2021
    Le 23-02-2021, Grant Taylor <gtaylor@tnetconsulting.net> a écrit :
    On 2/22/21 2:03 PM, JKB wrote:
    Hello,

    Hi,

    Sendmail acts as a MX and SMTP. MX calls procmail and store mails in
    user's maildirs. SMTP is configured with sasl2.

    Okay.

    On a Linux Devuan server, I have to interface sendmail to mailman3
    that only understand LMTP. I have tried different configurations
    without success.

    What have you tried?

    Mainly procmail with LMTP support (I have rebuilt procmail from sources).
    I have tried to directly send message to mailman3 with two differend MDA as
    mailman3 should use SMTP instead of LMTP also.

    I have seen that procmal can be built with MLTP support, but I haven't
    found any documentation to configure it.

    I would think that you would bypass procmail and send messages directly
    into Mailman v3.

    Question: Are your mailing lists in their own (sub)domain? Or are they mixed in with other email addresses? -- In other words, can Sendmail
    be configured to route (relay) all messages to Mailman a la. mailertable routing?

    I could reconfigure address map to a subdomain.

    Aside: If the addresses are mixed, I wonder how effective it would be
    to move the mailing lists to a different (sub)domain and use forwards to
    get to them. E.g. mailinglist@hilbert.invalid forwards to mailinglist@mailman.hilbert.invalid where Mailman is configured.

    I have tried to use a imap to LMTP (pullimap) but this tool panics
    when it is used on courier-imap.

    I'm not familiar with that.

    My question is very simple : how can I configure sendmail to deliver
    mails in user's maildirs by procmail and to mailman3 by LMTP ?

    Mailertable makes it trivial to send all messages for a domain to a
    given mailer.

    How configure mailertable to send to another mailer on another port on the
    same host. I have tested redirect option without success.

    I am fairly certain that you can only use one mailer per domain. Hence
    why having Mailman on a separate (sub)domain from the rest of the mailboxes.

    If you do continue to use procmail, I would expect that you could call a custom program from procmail that reads STDIN from procmail's STDOUT and
    then converts and speaks LMTP to Mailman.

    It's been a *LONG* time, but I do believe that I had Sendmail speaking
    LMTP to procmail. So, I would expect that Sendmail can also be
    configured to speak LMTP directly to Mailman.

    Finally, I know that LDAP routing (which does not /require/ LDAP and can
    be done with files) can route different messages within the same domain
    to different places. Perhaps this functionality could be leveraged if Mailman is mixed in with other mailboxes. I don't know. I'm speculating.

    Thanks in advance,

    You're welcome.

    It's definitely not an answer. But hopefully I've given you something
    to think about.

    Best regards,

    JKB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Tue Feb 23 06:57:38 2021
    Le 23-02-2021, Claus Aßmann <ml+sendmail@esmtp.org> a écrit :
    JKB wrote:

    I have seen that procmal can be built with MLTP support, but I haven't found
    any documentation to configure it. I have tried to use a imap to LMTP

    Doesn't your procmail source code mention LMTP?
    fgrep LMTP * 2>/dev/null
    FEATURES: + Can act as an LMTP server for reliable multiple recipient delivery
    HISTORY: - Support LMTP for delivery mode (not enabled by default)

    Manifest: procmail as its local delivery agent via LMTP. Procmail
    Manifest: *MUST* be compiled with LMTP support (see config.h) or
    config.h:#define LMTP /* uncomment this if you
    config.h: as an LMTP (rfc2033) server, presumably for invocation by an MTA.


    I have read, I have rebuilt procmail with LMTP support, but I don't
    undestand how procmail sends mail to, for example, localhost:8024. I don't
    know how configure procmail to do that.

    JKB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Tue Feb 23 07:45:46 2021
    Le 23-02-2021, Claus Aßmann <ml+sendmail@esmtp.org> a écrit :
    JKB wrote:

    I have read, I have rebuilt procmail with LMTP support, but I don't
    undestand how procmail sends mail to, for example, localhost:8024. I don't

    procmail does not send mail, it receives mail via LMTP.
    What are you trying to do?

    I have tried to run procmail with LMTP support. Thus, I have replaced
    FEATURE(`local_procmail')dnl by FEATURE(`local_procmail_lmtp')dnl and
    sendmail runs as expected, calls procmail and mails are delivered in user's
    maildirs.

    But I don't understand how send specific mails to another LMTP client on a
    INET socket.

    Have you checked cf/README as I suggested?

    Which README ? I have read config file for local_procmail_lmtp and it
    doesn't contain a lot of information.

    local_lmtp Use an LMTP capable local mailer. The argument to this
    ...
    local_procmail Use procmail or another delivery agent as the local mailer.
    ...

    procmail is not running as daemon, it is simply invoked as program.

    I know...

    Best regards,

    JKB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to JKB on Tue Feb 23 07:35:01 2021
    JKB wrote:

    I have read, I have rebuilt procmail with LMTP support, but I don't
    undestand how procmail sends mail to, for example, localhost:8024. I don't

    procmail does not send mail, it receives mail via LMTP.
    What are you trying to do?

    Have you checked cf/README as I suggested?
    local_lmtp Use an LMTP capable local mailer. The argument to this
    ...
    local_procmail Use procmail or another delivery agent as the local mailer.
    ...

    procmail is not running as daemon, it is simply invoked as program.

    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to JKB on Tue Feb 23 08:23:23 2021
    JKB wrote:

    But I don't understand how send specific mails to another LMTP client on a
    INET socket.

    Ah, finally we are getting to the real problem(?).

    The fine documentation in doc/op/op.* explains this:

    Builtin pathnames are [FILE] and [IPC], the for-
    mer is used for delivery to files, the latter for
    delivery via interprocess communication. For mailers
    that use [IPC] as pathname the argument vector (A=)
    must start with TCP or FILE for delivery via a TCP or
    a Unix domain socket. If TCP is used, the second
    argument must be the name of the host to contact.
    Optionally a third argument can be used to specify a
    port, the default is smtp (port 25). If FILE is used,
    the second argument must be the name of the Unix
    domain socket.

    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Grant Taylor on Tue Feb 23 10:42:03 2021
    On 2/23/21 10:38 AM, Grant Taylor wrote:
    I have added the mailman MAILER(`...') via a new `mailman.m4' file in /usr/share/sendmail/cf/mailer.  I've attached mailman.m4.  Hopefully it survives Usenet.

    I add the following to my sendmail.mc file to reference the new Mailman
    mailer and re-build sendmail.cf as usual.

    --8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<-- MAILER(`mailman')dnl -->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8--



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to JKB on Tue Feb 23 10:38:56 2021
    This is a multi-part message in MIME format.
    On 2/23/21 12:02 AM, JKB wrote:
    Mainly procmail with LMTP support (I have rebuilt procmail from
    sources). I have tried to directly send message to mailman3 with
    two differend MDA as mailman3 should use SMTP instead of LMTP also.

    Okay.

    I could reconfigure address map to a subdomain.

    Good.

    How configure mailertable to send to another mailer on another port
    on the same host. I have tested redirect option without success.

    I have something like the following in my mailertable:

    --8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<-- mailman.hilbert.invalid mailman:mailman.hilbert.invalid -->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8--

    I have the following defined as an additional mailer in sendmail.cf.

    --8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
    Mmailman, P=/etc/mail/mailman/mm-handler,
    F=lDFMqrhSu,
    U=list:list,
    S=EnvFromL,
    R=EnvToL/HdrToL,
    A=mm-handler $h $u -->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8--

    I have added the mailman MAILER(`...') via a new `mailman.m4' file in /usr/share/sendmail/cf/mailer. I've attached mailman.m4. Hopefully it survives Usenet.

    This method of using Mailman v2 has worked for 15 years for me across
    multiple servers.

    Best regards,

    Likewise.



    --
    Grant. . . .
    unix || die

    UFVTSERJVkVSVCgtMSkKIwojIFRoaXMgaXMgbXkgYXR0ZW1wdCBhdCBkZWZpbmluZyBhIG5l dyBNYCdBSUxFUiBmb3IgU2VuZG1haWwgdG8gc3VwcG9ydCBNYWlsTWFuLgojCmlmZGVmKGBN QUlMTUFOX01BSUxFUl9QQVRIJywsIGBkZWZpbmUoYE1BSUxNQU5fTUFJTEVSX1BBVEgnLCAv ZXRjL21haWwvbWFpbG1hbi9tbS1oYW5kbGVyKScpCmRubCBfREVGSUZOT1QoYE1BSUxNQU5f TUFJTEVSX0ZMQUdTJywgYFBlbnUnKQpfREVGSUZOT1QoYE1BSUxNQU5fTUFJTEVSX0ZMQUdT JywgYHJoU3UnKQppZmRlZihgTUFJTE1BTl9NQUlMRVJfQVJHUycsLCBgZGVmaW5lKGBNQUlM TUFOX01BSUxFUl9BUkdTJywgYG1tLWhhbmRsZXIgJGggJHUnKScpCmlmZGVmKGBNQUlMTUFO X01BSUxFUl9VSUQnLCwgYGRlZmluZShgTUFJTE1BTl9NQUlMRVJfVUlEJywgYG1haWxtYW4n KScpCmlmZGVmKGBNQUlMTUFOX01BSUxFUl9HSUQnLCwgYGRlZmluZShgTUFJTE1BTl9NQUlM RVJfR0lEJywgYG1haWxtYW4nKScpCgpkbmwgZGVmaW5lKGBfTUFJTE1BTl9RR1JQJywgYGlm ZWxzZShkZWZuKGBNQUlMTUFOX01BSUxFUl9RR1JQJyksYCcsYCcsIGAgUT1NQUlMTUFOX01B SUxFUl9RR1JQLCcpJylkbmwKUE9QRElWRVJUCmRubCAKZG5sICMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKZG5sICMjIyAgIE1BSUxNQU4gTWFpbGVyIHNwZWNp ZmljYXRpb24gICAjIyMKZG5sICMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMKZG5sIApkbmwgVkVSU0lPTklEKGAkSWQ6IG1haWxtYW4ubTQsdiAxLjAwIDIwMDYv MDUvMTUgMDE6Mjg6MzAgY2EgRXhwICQnKQpkbmwgCmRubCBNbWFpbG1hbiwJUD0vZXRjL21h aWwvbW0taGFuZGxlciwgRj1yREZNaGxxU3UsIFU9bWFpbG1hbjpvdGhlciwKZG5sIAkJCVM9 RW52RnJvbUwsIFI9RW52VG9ML0hkclRvTCwKZG5sIAkJCUE9bW0taGFuZGxlciAkaCAkdQpk bmwKTW1haWxtYW4sCQlQPU1BSUxNQU5fTUFJTEVSX1BBVEgsIEY9X01PRE1GXyhDT05DQVQo YGxERk1xJywgTUFJTE1BTl9NQUlMRVJfRkxBR1MpLCBgTUFJTE1BTicpLCBVPU1BSUxNQU5f TUFJTEVSX1VJRDpNQUlMTUFOX01BSUxFUl9HSUQsCgkJUz1FbnZGcm9tTCwgUj1FbnZUb0wv SGRyVG9MLAoJCUE9TUFJTE1BTl9NQUlMRVJfQVJHUwpkbmwKZG5sIExPQ0FMX0NPTkZJRwpk bmwgIyBNQUlMTUFOIG1haWxlciBpcyBhIHBzZXVkby1kb21haW4KZG5sIENQTUFJTE1BTgo=

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrzej Adam Filip@21:1/5 to JKB on Sun Feb 28 12:48:03 2021
    JKB <JKB@hilbert.invalid> wrote:
    I use sendmail for a very long time with procmail and courier-imap-ssl.
    Sendmail acts as a MX and SMTP. MX calls procmail and store mails in
    user's maildirs. SMTP is configured with sasl2.

    On a Linux Devuan server, I have to interface sendmail to mailman3 that only
    understand LMTP. I have tried different configurations without success.

    I have seen that procmal can be built with MLTP support, but I haven't found
    any documentation to configure it. I have tried to use a imap to LMTP
    (pullimap) but this tool panics when it is used on courier-imap.

    My question is very simple : how can I configure sendmail to deliver mails
    in user's maildirs by procmail and to mailman3 by LMTP ?

    Thanks in advance,

    My suggestion are based on mailmanv3 recipe for exim: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.html#exim

    You need:
    1. mailer definition for deliveries via LMTP to TCP/IP port at localhost
    2. accepting emails for mailman handled (sub)domain
    3. delivering messages to mailman (sub)domain via mailer from point 1
    4. accepting messages only to some addresses in mailman (sub)domains

    My suggestion for a "working prototype" (to be improved later):

    1. Use cyrusv2 mailer with redefined LMTP socket location
    [cyrusv2 uses unix socket by default]


    sendmail.mc fixes to implement 1+2+3
    You can use virtusertable to implement 4.

    # redirect cyrusv2 mailer LMTP connections to localhost:8024 define(`CYRUSV2_MAILER_ARGS',`TCP localhost 8024')dnl
    LOCAL_CONFIG
    # space separated list of domains handled by mailmanv3
    C{MM_DOMAINS} list.example.net
    # Add mailman domains to list of local email domains [point 2]
    Cw $={MM_DOMAINS}
    LOCAL_RULE_0
    # deliver addresses in MM_DOMAINS via (reconfigured) cyrusv2 mailer
    # [point 3]
    # PUT TAB (\t) before $#
    RS+ <@ $={MM_DOMAINS}.> $#cyrusv2 $@ dummy $: $1
    MAILER_DEFINITIONS
    # use (reconfigured) cyrusv2 mailer
    MAILER(`cyrusv2)



    Debug procedure (testing sendmail.cf requires root privileges):
    sendmail -bv list@list.example.net

    should report delivery via cyrusv2 mailer

    (echo subject: test; echo) | sendmail -Am -v no-such-list@list.example.net

    should show successfully established LMTP session to mailmanv3

    --
    [Andrew] Andrzej A. Filip

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Andrzej Adam Filip on Sun Feb 28 12:01:27 2021
    On 2/28/21 5:48 AM, Andrzej Adam Filip wrote:
    # deliver addresses in MM_DOMAINS via (reconfigured) cyrusv2 mailer
    # [point 3]

    Why would you do the following to achieve point #3 vs relying on
    mailertable, which is the established and supported method for routing
    email based on destination address?

    # PUT TAB (\t) before $#
    RS+ <@ $={MM_DOMAINS}.> $#cyrusv2 $@ dummy $: $1
    MAILER_DEFINITIONS
    # use (reconfigured) cyrusv2 mailer
    MAILER(`cyrusv2)

    I'm curious and trying to learn.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Andrzej Adam Filip on Sun Feb 28 13:00:31 2021
    On 2/28/21 12:36 PM, Andrzej Adam Filip wrote:
    Mailertable does not work for local email domains (listed in $=w).
    I suspect it was a choice long time ago to disallow mailertable
    messing with deliveries to local email domains.

    Ah. Therein lies the rub.

    Put the Mailman sub-domain(s) in class R. The Mailman sub-domain(s)
    isn't (aren't) /local/. They are to be relayed to the next ""host via
    the mailer specified in mailertable.

    Relay the Mailman sub-domain(s) /through/ sendmail /to/ Mailman.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrzej Adam Filip@21:1/5 to Grant Taylor on Sun Feb 28 19:36:44 2021
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 2/28/21 5:48 AM, Andrzej Adam Filip wrote:
    # deliver addresses in MM_DOMAINS via (reconfigured) cyrusv2 mailer
    # [point 3]

    Why would you do the following to achieve point #3 vs relying on
    mailertable, which is the established and supported method for routing
    email based on destination address?

    Mailertable does not work for local email domains (listed in $=w).
    I suspect it was a choice long time ago to disallow mailertable messing
    with deliveries to local email domains.

    There are two obvious alternative variants of mailmanv3 integration.
    1. make mailman domains part of local email domains *AND* redirect
    mailman domains to special mailer via R line [I have chosen it]
    2. keep mailman domains and local email domains separate *AND* redirect
    mailman domains to special mailer using mailertable *AND* use access
    table to accept emails to mailman domains

    # PUT TAB (\t) before $#
    RS+ <@ $={MM_DOMAINS}.> $#cyrusv2 $@ dummy $: $1
    MAILER_DEFINITIONS
    # use (reconfigured) cyrusv2 mailer
    MAILER(`cyrusv2)

    I'm curious and trying to learn.

    It is just "a working prototype" (I hope). I hope to provide missing virtusertable entries *if it works*.
    I usual there are may ways to implement it (in sendmail).

    IMHO final version should use MAILER(mailmanv3), FEATURE(mailmanv3) and
    keep list of mailman directories plus mailman lists listed in text files
    in /etc/mail/ directory.
    [ Two new (small) m4 files in sendmail distribution and modified
    proto.m4 file ]

    --
    [Andrew] Andrzej A. Filip

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrzej Adam Filip@21:1/5 to Grant Taylor on Sun Feb 28 20:15:08 2021
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 2/28/21 12:36 PM, Andrzej Adam Filip wrote:
    Mailertable does not work for local email domains (listed in $=w). I
    suspect it was a choice long time ago to disallow mailertable
    messing with deliveries to local email domains.

    Ah. Therein lies the rub.

    Put the Mailman sub-domain(s) in class R. The Mailman sub-domain(s)
    isn't (aren't) /local/. They are to be relayed to the next ""host via
    the mailer specified in mailertable.

    Relay the Mailman sub-domain(s) /through/ sendmail /to/ Mailman.

    I do not use mailman myself.
    I merely provided hints for interested parties.
    I applied my preferred "style guide".
    Feel free to provide your hints set.

    --
    [Andrew] Andrzej A. Filip

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)