Mautic can not send emails after upgrade to 3.2.4

Discussion in 'General' started by mediamix, May 21, 2021.

  1. mediamix

    mediamix New Member

    We use a marketing automation system called Mautic that tracks who visits our websites and processes forms. Since upgrading to version 3.2.4, Mautic can not connect to our email server - which is hosted on the same machine - to send emails. It can connect to receive emails.

    The error I get in Mautic is

    Connection could not be established with host mediamix-nj.com [ #0] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host mediamix-nj.com [ #0] (code: 0)
    ++ Starting Swift_SmtpTransport !! Connection could not be established with host mediamix-nj.com [ #0] (code: 0)

    Any idea what broke as it was working fine on 2 sites before the upgrade.
    Thanks
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Can you share the config you use in Mautic?
     
  3. mediamix

    mediamix New Member

    Thanks for getting back to me. Would you please be more specific as to what you mean by the "the config you use"
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    How have you configured Mautic to send e-mails? How is it sending or trying to send?
    Then you might be able to use localhost instead of the FQDN of the e-mail server?
     
  5. mediamix

    mediamix New Member

    Same settings that worked the day before I upgraded
    The domain is set to be my server's domain using SSL with proper credentials.
    I changed the domain to reach my SMTP server to localhost and got the same error.
    Connection could not be established with host localhost [ #0] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host localhost [ #0] (code: 0)
    ++ Starting Swift_SmtpTransport !! Connection could not be established with host localhost [ #0] (code: 0)
     
  6. mediamix

    mediamix New Member

    If I change the SMTP encryption method to none and the port to 25, then Mautic can send emails. I can send emails using SSL from email clients from all hosted email addresses. Does this help find what changed and needs to be fixed when I updated ISPConfig?
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    When enabling SSL, what do you see in the mail.log file when you are trying to send out a mail?
     
  8. mediamix

    mediamix New Member

    I found the problem. The update overwrote the config settings in postfix where I changed the location of my SSL certificates. I use Letsencrypt.
     
  9. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I would advice you to symlink the certs from /etc/postfix to the real location.
     

Share This Page