DKIM pb on very last ispconfig and Debian10

Discussion in 'Installation/Configuration' started by c2h, Apr 3, 2021.

  1. c2h

    c2h New Member

    I've installed on a new dedicated server debian 10, and then ispconfig.

    When I send emails, they are not signed with dkim. On another server (debian 9) it runs fine.

    An idea ?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Did you enable the DKIM checkbox? How are you sending?
     
  4. c2h

    c2h New Member

    Thanks.
    I ran the test :
    systemctl --state=failed
    0 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.


    I send mails througth phpmailer. The code was running fine on my previous server (Debian 9, ispconfig).
    DKim check box is set too.
    DNS are right (tested).
    It seems that dkim isn't used sending an email.

    I've also tried to use dkim throught phpmailer
    Code:
            $this->m_mail->DKIM_domain = 'mail.xxxx.net';
            $this->m_mail->DKIM_private = '/var/lib/amavis/dkim/xxxx.net.private';
            $this->m_mail->DKIM_selector = 'default';
            $this->m_mail->DKIM_passphrase = '';
            $this->m_mail->DKIM_identity = $this->m_mail->From;
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  6. c2h

    c2h New Member

    Thanks a lot. It helps and I've decided to use smtp.

    Now it runs fine.
     

Share This Page