FEATURE(virtuser_entire_domain)

FEATURE(virtuser_entire_domain)

Match subdomains in the virtual user table V8.10 and above

Ordinarily, domains listed in the $=w class or the $={VirtHost} class are looked up in the virtual user table as is, meaning that only host-for-host or domain-for-domain matches are made. This virtuser_entire_domain feature changes that behavior and allows subdomains to also be looked up.

Consider, for example, that the domain wanted.com is listed with the VIRTUSER_DOMAIN mc configuration macro (See this section), and the following lines are listed in the virtual host table:

 info@wanted.com         hans@remote.host info@sales.wanted.com   hans@remote.host 

Here, mail sent to info@sales.wanted.com would ordinarily not be looked up. But by declaring this virtuser_entire_domain feature, all hosts in the subdomain wanted.com would will be looked up, so the address info@sales.wanted.com would now find a match.



Sendmail
sendmail, 4th Edition
ISBN: 0596510292
EAN: 2147483647
Year: 2002
Pages: 1174

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net