“At the post” – you mean the tuning peg/post?
Hmm… Honestly, unless there’s a burr or something on the post, that may be a player issue. I broke a lot of strings in my early days that were just a matter of not having my technique down. I don’t know how long you’ve been playing, but that period was several years for me.