Two things work:
Creosote -- proper creosote. find a tall tin or a piece of pipe you can seal, put some pebbles or coarse gravel in the bottom (so the liquid can circulate and stand the end of the post in it. Fill as far up as you can with creosote and leave for as long as you dare (weeks, preferably). It helps if the post is as dry as possible to start off with. Ideally, it wants to be immersed to at least 6" above the ground level. Paint the rest of the post in creosote in the usual way.
It hasn't actually been completely withdrawn. Thanks to EU directive you can't buy it retail, but it's still avaliable to fencing contractors and can be got through farm suppliers (I think). Leastways, that's how I came to have some
And before someone goes on about it being nasty stuff, there's no proof it's a carcinogen, only heresay (read the WIkipedia entry), and it was even sprayed on Saharan sands for a while to stimulate plant growth to stabilise the dunes.
Bitumen paint ("Synthaprufe"). Stand the post in it, in the same way as for Creosote, but you probably only need to leave it overnight. Dampness in the wood doesn't matter as the stuff is water-based. Let the post dry thoroughly before use (it's brown when wet, dries to black, but skins over quickly (still liquid underneath). Synthaprufe bonds well to concrete. Our back garden gate posts are done that way, getting on for five or six years with no signs of rot, even though they're in a spot that gets drenched in the winter. The above ground part was Creosoted properly.
Also softwood usually rots first via the end grain. If you can design the whatever so that the end grain can't get soaked, or that it sheds easily, the whatever will last a lot longer. I've started to use Flashband as a capping for posts, as it's cheap and easy to apply, looks fairly neat and lasts ages (you can tack the edges down). It also gets used hereabouts for nestbox roofs, and the Blue **** are delighted, apparently. Our oldest nestbox is just softwood, and it's about 14 years old with no real signs of decay (and you can't creosote nestboxes!).
E.
(PS: insert rude comment about the EU here.)