On 1/30/25 11:55, jerry.barnabee--- via Mailman-Users wrote:
Here is the code that Is in the exim.conf - but looks like greek to me :)
I do know that all of the domains are listed and have correct dkim entries in 
the dns.
Do you know of anyone that actually has a mailman 2.1.39 installation that does 
add dkim signatures to the mailman emails ?


mail.python.org runs Mailman 2.1.39+ for many lists in addition to running Mailman 3 for many other lists and all outgoing mail from both Mailman 2 and Mailman 3 lists is properly DKIM signed.

But the mailman version is irrelevant as the DKIM signing is done by Postfix.

In your case, the significant thing is cPanel's Mailman 2.1.39 because the issue is in Exim as configured by cPanel. You want to hear from someone running cPanel Mailman that does add dkim signatures to the mailman emails.

mailman_virtual_transport >     driver = pipe
...
mailman_virtual_transport_nodns:
    driver = pipe

The above transports are for mail to Mailman, not mail from Mailman.

The transport below is the relevant one.

dkim_remote_smtp:
  driver = smtp
  interface = <; ${if > \
    {${extract \
        {size} \
        {${stat:/etc/mailips}} \
    }} \
    {0} \
    {${lookup \
        {${lc:${perl{get_message_sender_domain}}}} \
        lsearch{/etc/mailips} \
        {$value} \
        {${lookup \
            {${if match_domain \
                {$original_domain} \
                {+relay_domains} \
                {${lc:$original_domain}} \
                {} \
            }} \
            lsearch{/etc/mailips} \
            {$value} \
            {${lookup \
                {${perl{get_sender_from_uid}}} \
                lsearch*{/etc/mailips} \
                {$value} \
                {} \
            }} \
        }} \
    }} \
}
  helo_data = ${if > \
    {${extract{size}{${stat:/etc/mailhelo}}}} \
    {0} \
    {${lookup \
        {${lc:${perl{get_message_sender_domain}}}} \
        lsearch{/etc/mailhelo} \
        {$value} \
        {${lookup \
            {${if match_domain \
                {$original_domain} \
                {+relay_domains} \
                {${lc:$original_domain}} \
                {} \
            }} \
            lsearch{/etc/mailhelo} \
            {$value} \
            {${lookup \
                {${perl{get_sender_from_uid}}} \
                lsearch*{/etc/mailhelo} \
                {$value} \
                {$primary_hostname} \
            }} \
        }} \
    }} \
    {$primary_hostname} \
}
  dkim_domain = ${perl{get_dkim_domain}}

I think the above may be the the issue. Does ${perl{get_dkim_domain}} return a domain or list of domains including the mailman list domain?

Your list domain is apparently template.missourimasternaturalists.org. Is mail which is DKIM signed From: that domain or from some other domain, maybe missourimasternaturalists.org.

  dkim_selector = default
  dkim_private_key = "/var/cpanel/domain_keys/private/${dkim_domain}"
  dkim_canon = relaxed
  hosts_try_chunking = 198.51.100.1
  message_linelength_limit = 2048
.ifdef ARCSIGNING
arc_sign = 
$primary_hostname:default:/var/cpanel/domain_keys/private/$primary_hostname:default
.endif

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org

Reply via email to