How properly edit SMTP JUNK MAIL settings

Hi everyone,
I want to mark as SPAM emails with:
Message-ID: <>
Im trying to use
value in Junk Mail dialog box. Some mails are blocked this way, but some not.
1- Is this a good way to mark mails as SPAM
2- maybe it's nessesary use some "special" characters?
Message-ID: <*>
Message-ID: <>
something diffrend??
It have no sense use Message-ID: <>, because 9dac7219e91368a18b24dd5a058ade64 part is changing everytime. Any idea?

Thanks for help :))