Forwarder anti-loop check

Version 1.60.2

Bugfix
Finished

For local forwarders, if they end up pointing back to the original name, DA will abort the creation of the forwarder. Sample error message:: Forwarder loop found: : five@da-15.com has loop@es60-64.com. Loop Found: from four@da-15.com: from three@da-15.com: from two@da-15.com: from one@da-15.com Where setup was an attempt to create: loop@es60-64.com -> one@da-15.com Where da-15.com is local to the same box, and that domain had forwarders: one: two@da-15.com two: three@da-15.com three: four@da-15.com four: five@da-15.com five: loop@es60-64.com As the process is recursive, the parent forwarder value is added to the end of the string with the ": from parent@email.com", but should be enough to track it down. The max recursion depth is 20, at which point DA will declare it to be a loop anyway (20 levels of loop recursion seems a bit much anyway) ---- T24131

Interested to try DirectAdmin? Get a 30-day Free Trial!