Date: Sun, 25 Jun 2000 14:40:01 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: Nathan Vidican <nate@mail.govital.net> Cc: questions@FreeBSD.ORG Subject: Re: /etc/aliases wildcard-alias Message-ID: <20000625144001.C334@dialin-client.earthlink.net> In-Reply-To: <200006252017.QAA23499@mail.govital.net>; from nate@mail.govital.net on Sun, Jun 25, 2000 at 04:17:28PM -0400 References: <200006252017.QAA23499@mail.govital.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 25, 2000 at 04:17:28PM -0400, Nathan Vidican wrote: > I need to create an alias for all users of the system, I tried making a simple script that reads every user rom /etc/master.passwd, and adds them to an alias in the form of user,user,user (etc). When I run 'newliases', I get an error on that paticular alias stating that it's too large (2774 users). $ man 5 aliases . . . BUGS If you have compiled sendmail with DBM support instead of NEWDB, you may have encountered problems in dbm(3) restricting a single alias to about 1000 bytes of information. You can get longer aliases by ``chaining''; that is, make the last name in the alias be a dummy name which is a con- tinuation alias. > Is there not a simpler way of making an alias to <ALL> users on the system? Since our users add/remove/change all te time, somesort of wildcard would be really nice. It could be possible to make the alias entry in /etc/aliases a pipe to a program that assembles the list of current users in RT. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000625144001.C334>