regexp help needed :)

kropla

Member
Jan 28, 2021
45
2
8
26
Hello
can you help me with construction of regexp who object ?
i want to block all emails from outside (exept ie adres1@test.local, adres2@test.local) -> so i want to have all email address in domain test.local -> exept adres1 and adress2

thanks for your helping
 
Negation in PMG works by creating 2 rules:
* rule one with a from group containing adres1@test.local, adres2@test.local and action ACCEPT
* rule two (lower priority) with a from group containing test.local and action BLOCK

I hope this helps!