* Indunil Jayasooriya <induni...@gmail.com>:
> Hi list,
> 
> 
> I want to know if amavisd-new can bock mails based on Message-ID:, when it
> has a particular PATTERN?

You can do that in the MTA. In Postfix this would be in header_checks:
 
> 
> I get mails whose Message-ID s are like these?
> 
> 
> Message-ID: 861dfa65-7e64a83d-4434-525d-clmthigeer-PC-EXC02.Fanex-us.local
> 
> Message-ID: fe8e9914-909f386c-dd43-fa1c-clmthigeer-PC-EXC02.Fanex-us.local
> 
> Message-ID: 71fce904-aa6368fb-ebc9-172f-clmthigeer-PC-EXC02.Fanex-us.local
> 
> Message-ID: c4aaf04e-24c231f0-12bb-1f68-clmthigeer-PC-EXC02.Fanex-us.local


/^Message-ID: .*-clmthigeer-PC-EXC02.Fanex-us.local$/ REJECT

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebra...@charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155

Reply via email to