P_DOMAIN.C
PLUGIN interface for DOLIST Server for EMWACS IMS.
Copyright  Denis Olivier September, 1998.
Denis Olivier : dolivier@povlab.org.

To find the domain, the plugin will parse the from field,
extract the right part of the "@" as domain name and
search every expression as :

	domain.ext
	www.domain.ext
	news.domain.ext
	ftp.domain.ext
	mail.domain.ext
	
If it matches one of this, it is accepted, else refused.
It's very rare to find a domain that doesn't have
any www or ftp alias on a IP.	

The best would be to implement a DNS MX (Mail eXchange) resolver.
I don't have the time to find hwo to make it, so I assume that
Prefix could be exist and save us ! :)

Check the sources for more information.
If you change anything or make it more secure or
stronger, please send a copy to me.

Denis Olivier.
