On 03.11.2016 04:45, vod vos wrote: > HOW can we just receive just such as .jpg .png .mp4 and reject all > other attachment in a short regexp to do the job?
That's not something that can be handled with a "short regexp". I suggest you look into amavisd-new or other content filters which work in combination with Postfix. -Ralph