Hello all,
For instance you have a group for all mail that comes for domain-A.tld, with a *@domain-A.tld entry in the group file.
An email comes to subdomain.domain-A.tld and it is not treated as a member of the group.
I wrote a patch to allow group matching for subdomains.
You can have the subdomains be members of the same group as the parent domain, or members of a different group.
With this patch, the way to catch subdomains is to use *.domain in the last field.
Examples:
Same group as the parent domain:
groupA:grouptype:*@domainA.tld (parent domain)
groupA:grouptype:*.domainA.tld (subdomain)
Different groups:
groupA:grouptype:*@domainA.tld (parent domain)
groupB:grouptype:*.domainA.tld (subdomain)
Particularly useful in SHARED,MANAGED groups, where an entity can check all the mail for the domains and subdomains for which it is responsible.
Patch to allow subdomain matching in groups