For the posts, use pressure treated wood. If the wood is not pressure treated, problems will appear in about two years, some of the damage may be irreversible.