On Tue, Jul 29, 2014 at 03:21:17PM +0200, Lasse Poulsen wrote: > I'm trying to figure out if Postfix have a feature that allows me to > limit the From: header, or if I should use an external filter.
There is no support for access checks on header addresses. Also a bit of a chicken-egg problem, since typically one wants to reject messages before the content is received, but the "From:" header is part of the message content, so the reject has to be delayed until ".". At that point Postfix no longer remembers the recipients, so it is too late to apply relay controls. So all in all, you need a custom pre-queue proxy filter for this. -- Viktor.