The present invention relates to a novel class of compounds, namely dodeca-2E, 4E-diem amides and their use a medicament, preferably as a dermatologic agent, and as a cosmetic:. These novel compounds are particularly useful in treating and/or preventing inflammation, irritation, itching, pruritus, pain, oedema and/or pro-allergic or allergic conditions in a patient. Usually they are topically applied to the skin or mucosa in the form of a pharmaceutical or cosmetic composition comprising the compound and a pharmaceutically and/or cosmetically acceptable carrier.