Outbound email not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kliment.toshkov
    Junior Member
    • Mar 2015
    • 5

    Outbound email not working

    Hello,

    Outbound mail is not accepted by our mail server. It is qmail with DKIM patches. All hosts in our network and all software installed does send successfully email. Only EspoCRM (using Zend mail) does not work.

    Actual error is: 451 qmail-dkim: DKIMContext structure invalid for this operation (#4.3.0).

    ​I did a bit of research and found out that this error is returned only when email body does not contain “from” and “date” headers. Performed some debug on EspoCRM and confirmed that both headers are generated in message. So I am stuck now.

    Please help

  • yuri
    Member
    • Mar 2014
    • 8501

    #2
    Hi

    It could be. Zend has a lot of issues in their Mail lib. If you find anything please let us know.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • kliment.toshkov
      Junior Member
      • Mar 2015
      • 5

      #3
      If EspoCRM may be configured to use local email delivery (either sendmail or mail function) then I believe the problem will be solved.
      However I find it not suitable to patch by myself because patches will be lost in case of future upgrade.

      Comment

      • kliment.toshkov
        Junior Member
        • Mar 2015
        • 5

        #4
        Please consider the possibility to add “local email delivery” configuration option. This will be the deal breaker to evaluate EspoCRM and purchase advanced pack.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8501

          #5
          We will consider.
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          • kliment.toshkov
            Junior Member
            • Mar 2015
            • 5

            #6
            Thank you. In the meantime we are unable to evaluate the product - email is integral part of collaboration.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8501

              #7
              Would be good to fix issue with zend mail first.
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • kliment.toshkov
                Junior Member
                • Mar 2015
                • 5

                #8
                Hello,

                Yes, it would be great to fix the issue with Zend mailer first. However I am not aware what exactly is the problem. I confirmed that some headers needed by qmail-dkim are missing and it refuses to sign the outgoing message.

                What surely works is “sendmail transport” (local delivery). I have manually patched EspoCRM to replace SmtpTransport with SendmailTransport and now the system sends mail OK.

                The server that houses EspoCRM uses ssmtp (simple replacement for sendmail) that is configured to relay mail to our MX. This MX is the same that SmtpTransport is configured to directly connect, but with no success.

                Let me know if I could help you with anything.

                Thanks

                PS. I can contribute the patch but I really prefer configuration option “use Sendmail” instead of “MX host”.

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8501

                  #9
                  I can help you to make this fix in custom file. So that it won't be affected after upgrade. You can attach it here and i will look.
                  If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                  Comment

                  • gokhanozgezer
                    Junior Member
                    • Mar 2015
                    • 4

                    #10
                    Originally posted by yurikuzn
                    I can help you to make this fix in custom file. So that it won't be affected after upgrade. You can attach it here and i will look.

                    hi I use email send notifi

                    I create new user and espo send mail like this is your username and password

                    but I create task or anythink espo not send mail to assigment user

                    I click Receive Email Notifications upon Assignment

                    but still not sending mail

                    I wait your help thnaks

                    Comment

                    Working...