Hello, please help fix this email loop issue.

What I have done:

  1. remove forwarder from cpanel to gmail (thats what I have)
  2. remove the email account from osticket ticket

but still there is email loop detected
Email loop detected
It appears as though [email one] is being used as a forwarded or fetched email account and is also being used as a user / system account. Please correct the loop or seek technical assistance.\n\nReturn-Path: Delivered-To: [email two] Received: from...

  • KevinTheJedi and syimen replied to this.
  • syimen Found the solution by deleting [email one] in mailbox [email two] and the error loop is now gone.

    Thank you everyone and my friend hoster who found elsewhere in this forum.
    Cheers.

    syimen

    It appears “email one” is still parsing mail in the system somehow. Either via piping or via fetching.

    Cheers.

      KevinTheJedi yes but I am not using piping method and if fetching, I could not find where it is

      Please help me, I'm frustrated with this LOL

        syimen

        You can disable fetching globally by going to Admin Panel > Emails > Settings, uncheck both boxes for Email Fetching, and save changes. To do it at the individual email level go to Admin Panel > Emails > Emails, click the email, click Remote Mailbox tab, set status to Disable, and save changes.

        Cheers.

          KevinTheJedi Thank you, I've tried it and the message is now gone.
          Now I just let the global fetching disabled and only fetching from each email account?

          If so whats the different and why there is global and individual?

            syimen

            No, so that only stops fetching so it temporarily stops the loop until you can find the culprit(s) and remove them so the loop stops once you reenable everything. So go find the mail in the mailbox that’s casing the cashing the loop and remove it. Then once you are confident you stopped the loop then you can reenable global fetch and each email fetch.

            Cheers.

              KevinTheJedi Please explain how do I "..So go find the mail in the mailbox that’s casing the cashing the loop and remove it. "

              This is what I have done to compare:
              Disabled fetching global, only enabled fetching on auto-cron
              Enabled fetching email in individual email account
              Result, NO email loop issues nor creating ticket and email in the original mail server UNREAD (IMAP)

              Enabled fetching global, and enabled fetching on auto-cron
              Enabled fetching email email in individual email account
              Result, there are email loop issues, ticket got created and email in the original mail server READ (IMAP)

                syimen

                Auto-cron is only used when you cannot setup a cron job/scheduled task. If you have a cron job running you must uncheck the box for auto-cron and use the Enable checkbox only for the Email Fetching setting.

                What I mean by going to the mailbox is in the system log error message you should see relevant headers that will help you track down the email within the affected mailbox. You then find those mail and remove them from the fetch folder. Then you analyze those mails to see how the loop occurred. Then you must take necessary actions to prevent the loop moving forward. Once you are confident you stopped it then you can reenable fetching.

                Cheers.

                6 days later

                I had a similar problem.
                osTicket email address is used for collecting the mail using Auto-Cron.
                One specific email message in the box was generating the loop.
                The specific email was detected by comparing the system logs date and time for when the Loop error started.
                The date and time of the email was within minutes of each other.

                Forced the email into archive and the Loop error appears to have disappeared.

                  TAS thanks
                  How did you Force the email into archive?

                  I have tried to set to delete once they're fetched but still error loop

                    Daedalus01 thank you for your guess, but it does not seem to be the best answer while my osticket is connected to several webs and email accounts

                      syimen

                      You should be able to see what email it’s complaining about from the headers in the system logs. You then login to said mailbox and manually delete or remove the mail causing the loop from the fetch folder. That’s literally the only thing you can do. If you are still getting loops then you haven’t removed all mail causing loops or you have a user in your system that’s causing a loop via forwarding rule, etc.

                      Cheers.

                      syimen Found the solution by deleting [email one] in mailbox [email two] and the error loop is now gone.

                      Thank you everyone and my friend hoster who found elsewhere in this forum.
                      Cheers.

                      Write a Reply...