On Wed, 29 Nov 2017 18:05:38 +0100
Matteo Cazzador <mat...@netlite.it> wrote:

> Hi, i need to apply a filter (a script) on every email incoming from 
> external to my mail server.
> 
> I need to apply this filter on "from" field.
> 
> Only for incoming mail from external server.
> 
> Some one can help me please.
> 
> Thanks
> 

I'm not a Postfix expert, but how about header_checks?
http://www.postfix.org/header_checks.5.html
http://mattshaw.org/news/how-to-filter-mail-with-postfix-header_checks/

-- 
-----------------------------------------------------------
  Enrico Morelli
  System Administrator | Programmer | Web Developer

  CERM - Polo Scientifico
  via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY
------------------------------------------------------------

Reply via email to