On 10-Sep-00 at 14:32, Tabor J. Wells (twells@???) wrote:
> On Sun, Sep 10, 2000 at 12:30:03PM -0400,
> Tao Wu <taowu@???> is thought to have said:
>
> > I have set up a local mailing list such as stuff@??? , I want
> > only my local users can send message to this address, not the outsider.
> > How do I set the option. thank you advance.
> >
> > tao wu
>
> Use a mailing list manager (MLM) like Majordomo or Mailman and set the
> appropriate restrictions on the list using the MLM's configuration
> options.
That only works if you want to restrict posting to list members;
if he actually wants anyone within his company to be able to post
to these internal lists he'll need to a custom director in the
exim file. I would suggest:
Move the restricted aliases out of your main aliases
file and into a new file. (E.g., /etc/mail/restricted)
Copy the system_aliases director and call the new one
something like restricted_aliases.
Change the file option to point to the new aliases file.
(file = /etc/mail/restricted)
Add a condition option that tests the various headers or
other variables with source info and fails if they aren't
all from within the company.
-Pat