Block certain Domains from accessing a port. How ?

I would like to block any inbound connection on a certain port when coming from users connected trhouth a certain domain (provider). For example :

block inbound connections on port 25 from users with domain

this means for example would be blockedwhen attempting to access port 25, as well as would … etc.

Is this possible using the domain field in rules ??

If yes can you tell me how to build such a rule ??