On Tue, Feb 03, 2004 at 03:57:20PM -0500, Jeff Gordon wrote:
> I have qmail (netqmail 1.04), vpopmail 5.3.30, and SqWebMail 3.6.2
> serving a double handful of virtual-host domains on a particular
> RH 8 server.
> 
> I need now to set up one domain on the same server, as an "internal
> only" mail center, one that will allow users of the domain to send
> messages to each other but will _disallow_ sending mail outward to
> other Internet domains.
> 
> Any tips, please, on how to accomplish that?

Configure your MTA with a policy rule which says bounce mail where sender
address is [EMAIL PROTECTED] but the destination is not [EMAIL PROTECTED]

If you are using an MTA which is not sufficiently flexible to achieve this,
then install exim :-)

If you're only concerned about mail from webmail users, then note that all
outgoing mail is sent via the script 'sendit.sh'. You could therefore
replace this script with something else which implements your policy for
you, e.g. a small perl program.

Regards,

Brian.

Reply via email to