Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#43 Group matching for subdomains

open
nobody
None
5
2009-09-01
2009-09-01
Carlo Rodrigues
No

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.

Discussion