On 7/24/2017 4:27 PM, [email protected] wrote:
> Hi
> 
> I'm getting Postfix setup to deal with "bad headers".
> 
> Looks like there's a bunch of ways to do it.
> 
> Three I'm looking at are
> 
> 1) Postfix's built in headers check
> 2) A milter that'll check for & reject headers
> 3) Amavisd's built in header handling
> 
> I can actually get all three to work pretty much the way I want.
> 
> Is there any reason to use one over the other if they're all doing it 
> PreQueue?
> 
> Is it more efficient to use a separate milter than to use Postfix's built in 
> stuff?
> 
> Rob
> 

Use whichever you like.  For simple checks, the differences are
probably not significant.  For complex checks (eg. checking multiple
conditions or whitelisting certain messages) you'll need to use a
milter or amavisd.

If you're already using amavisd and a milter capable of inspecting
headers, there will probably be no noticeable difference in
performance regardless of which you use, so use whichever is easiest
for you to configure.


  -- Noel Jones

Reply via email to