I don't know about soy sauce, but mayo's actually pretty easy to make, even for relatively primitive societies. It's just eggs dissolved in vinegar, with salt, pepper, and garlic added.
Even if the pepper was rare, salt and garlic would probably be fairly easy to get. Plus there's mustard, which is so old, the Romans used it.