Thanks for writing your query.
After reading your post, it seems that the anal discharge
, your husband is having can be from hemorrhoids.
He should eat foods rich in fiber and roughage to avoid constipation
He should drink lots of water daily.
A clinical examination by a surgeon can be helpful in cases of hemorrhoids.
I hope this is helpful to you.