Mystery pipe under my sink and an intermittent sour smell
I seemed to have fixed this issue with a 90 degree elbow to fit over the pipe that comes out of the wall, and an Air Admittance Valve that I put on the other side of the elbow pipe.  No glue or tape was necessary.