I just skimmed the thread but I'll offer my 2cents.
I saw a Dirty Jobs episode of a dog groomers where as part of the cleaning they squeezed the anus and some liquid shot out. It wasnt poop but some sort of fluid buildup they get in that area if not properly emptied on a regular basis can cause infection and whatnot.
Your dog may have something related to that which is causing this problem.