This is a fix for Ensim PR 24305 - "Sendmail accepts mail for unknown
users before bouncing them". It consists of the following parts:

sendmail.mc	
	replacement for /usr/lib/opcenter/sendmail/install/sendmail.mc
	(the m4 source for the WEBppliance /etc/sendmail.cf)

sendmail_add_maps	
	perl script to updated user and aliases map definitions in
	/etc/sendmail.cf (in place) when a site is added or deleted

sendmail_app_init
	replacement for /etc/rc.d/init.d/sendmail_app_init
	(which is the WEBppliance replacement for /etc/rc.d/init.d/sendmail)
	which calls sendmail_add_maps on each sendmail restart

The core fix is an addition to the Local_check_rcpt rule in
sendmail.cf which is invoked for each "RCPT TO:" SMTP command. The new
rule performs the following actions:

- Looks up the hostname of the recipient address in a database of
local domain names (site domain names or domain aliases);

- If the recipient is a local address, it looks for a "catch-all"
alias in the local site;

- If no catch-all alias exists, it looks for an alias for the username
part of the recipient address;

- If no such alias is found, it looks for a user with that username;

- If no such user is found either, it rejects the recipient address.

The result is that emails addressed to unknown users is immediately
rejected, which is the desired behavior.


Notes:

- This fix overwrites /etc/sendmail.cf on installation. If any
customizations were done to this file, they will need to be merged
after this fix is installed.

- Uninstalling this fix restores all overwritten files on the
WEBppliance.
