ispconfig email used as SMTP server, emails not signed with DKIM

Discussion in 'General' started by ariban99, Mar 8, 2022.

  1. ariban99

    ariban99 Member

    Hi
    I created an email address in ispconfig and from another server for newsletters, i point to my ISPCONFIG server as an SMTP relay (my ispconfig server has 5 very good IP addresses)
    It sends emails fine but it shows that my emails are NOT signed with DKIM, for newsletter purposes its best to be authenticated with DKIM.
    Am I doing something wrong, any better way to accomplishing this?
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Are you sending with authentication? What port are you sending on? Are you using amavis or rspand? Is your dkim public key published in DNS as seen by your server?
     
  3. ariban99

    ariban99 Member

    Hi
    I dont know how to answer your questions properly I am somewhat confused how this works. if i send emails from ispconfig local email address, it works great, no issues, everything authenticated properly with dkim etc... yes the dkim is in my dns.
    however i have a second cloud server for 1 website only and i want the newsletters to use my ispconfig email server as i have much better IP on it.
    from my cloud server newsletter program i enabled user external SMTP and asked me for the server IP, port (465) and the emails username and password, that is all it asks for and it works and sends, but its NOT signed with DKIM.
    do i have to do something on the dns side for this setup? (i tried created a second txt dns record for DKIM on the cloud server, but using ISPCONFIG DKIM text, i even changed from DEFAULT DKIM selector to a random one called SMTP, but that didnt help either, i tried it as default selector too, no help)
    i must be missing something here
     
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Ok, so dkim is working for the domain. If the website is authenticating as a user which works in your tests, my guess is that the email address in the From header is different than the smtp sender. You could confirm/refute that by looking at the message headers and the log messages generated on your server when the newsletter program sends an email.
     
  5. ariban99

    ariban99 Member

    you are correct
    you are correct, it is different from the header. how do i solve this?
     
  6. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    I have no idea how you would configure the address your newsletter program sends as, try browsing the settings or checking the documentation.
     
  7. ariban99

    ariban99 Member

    ill reach out to the newsletter for wordpress. if they have a solution ill try to post it here in case anyone else might need it
     
  8. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Fair enough, though you might also post the name of the plugin you are using, so people know if the info is in any way relevant to them. (There are many (hundreds?) newsletter plugins for wordpress.)
     
  9. ariban99

    ariban99 Member

    lol the stuff we assume. i use the wordpress plugin called THE NEWSLETTER PLUGIN https://wordpress.org/plugins/newsletter/
    and they were not helpful at all, they simply wrote back
    Hi, and thanks for contacting us.

    For DKIM questions you have to ask your email service provider.

    Regards,
    Roberto
    The Newsletter Plugin

    so that brings me back to ISPCONFIG forums, how can i troubleshoot or see some error or logs for these emails to find out why they are not signed with DKIM?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    As far as I can see on that page, you must install a separate SMTP addon to allow that software to send via SMTP. And sending authenticated via SMTP is required for proper Dkim signing and also for getting a custom from address.
     
  11. ariban99

    ariban99 Member

    Hi Till, yes i installed their SMTP addon. what do you mean by sending authenticated via SMTP and how do i get a custom from address? i put in the server ip, i use the port 465 with SLL cert and i put in the username and password for that email that i created in ISPCONFIG. see attached screenshot of their SMTP add on settings
     

    Attached Files:

Share This Page