Some emails are missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • piotr99
    Junior Member
    • Jun 2016
    • 12

    Some emails are missing

    Hi,
    some incoming emails are missing. Mostly the important ones that are connected with Parent. I use a mailbox from a professional provider.
    I have:
    - the newest version of EspoCRM.
    - php mailparse installed.
    - php v 8.3.
    - cron is working and Check Personal Email Accounts job.

    I use Virtualmin on my own server and I may have configured something incorrectly. I had the same issue with Hetzner (German provider).
    All services on the server work properly. I can't see anything in logs but maybe I am looking in the wrong ones.

    I would be grateful for your help.
  • piotr99
    Junior Member
    • Jun 2016
    • 12

    #2
    Do you have an idea where to look for errors? what file? how to enable problem detection?

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      If an error occurs during email importing, the error should be in the Espo log. Can you provide an EML file so I could check whether Espo can import it?
      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

      • piotr99
        Junior Member
        • Jun 2016
        • 12

        #4
        There are many different missing files from many customers. I only have one header from the Mozilla email client. Will this help?
        My error log is almost empty and only contains entries from Sunday.​

        Comment

        • yuri
          Member
          • Mar 2014
          • 8440

          #5
          Email original may be helpful. But it's unlikely as you don't have errors logged.

          > There are many different missing files from many customers.

          Files or emails? Or both?
          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

          • piotr99
            Junior Member
            • Jun 2016
            • 12

            #6
            Sorry, I meant emails. But I discovered the problem - I don't receive only emails with attachments. Even if it is a logo.
            I corrected access rights ( chown -R <owner>:<group> public_html ) but it didn't fix a problem.
            Some time ago a few attachments were deleted manually ( Administration -> Attachements ).
            All lines on page Administration -> System Requirements are green (Success).
            Last edited by piotr99; 05-27-2024, 08:15 PM.

            Comment

            • piotr99
              Junior Member
              • Jun 2016
              • 12

              #7
              OK. I found it
              But it is a bit strange.
              When I changed cron from:

              crontab -e -u www-data (as it is suggested in docs https://docs.espocrm.com/administrat...configuration/)
              to
              crontab -e -u owner

              it started working. ​

              Before I had also problems with the cache because some files in cache changed ownership to www-data and I couldn't clear the cache.

              Comment

              Working...