Block all mail from a domain...except 2 addresses?

Howdy yall!

I have a client who has people using his mail.domain.com mailserver to send spam through my server.

He only has 2 addresses setup on that account that he uses.

How can I block anything EXCEPT those 2 addresses from sending mail through the server?

It's a cpanel system + Exim/mailscanner

I thought an Exim filter file might do it...but I've yet to get one to work right. Block all mail from a domain...except 2 addresses?

Thanks!

 

 

 

 

Top