>
> ian's suggestion is one good example but the problem is, it will include
> default system users like root, bin, daemon, sync, shutdown, etc :->
> one quick and simple solution is to use the ":inlcude:" features of
> sendmail.
> for example in your /etc/aliases:
>
> all_users: :include: /path/file
>
> this will causes sendmail to read its list of recipients from an
> external file (/path/file). just make a simple script to parse from your
> /etc/passwd file to /path/file.
>
As long as this file is updated when users are added or deleted, then this
solution is feasible.
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]