Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2000 23:42:38 +0200
From:      Roelof Osinga <roelof@nisser.com>
To:        Nathan Vidican <nate@mail.govital.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: /etc/aliases wildcard-alias
Message-ID:  <39567CCE.FE050168@nisser.com>
References:  <200006252017.QAA23499@mail.govital.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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).
>         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.

Maybe I'm missing something. But does not every user get a mailbox
of the form <username>@<hostname>? So what alias? Is it is some
special name then how can you expect a script to know it?

If it's about some virtual domain, than try

@<virtdomain>    %1@<hostname>

or something likewise.

Roelof

-- 
-----------------------------------------------------------------------
Eboa (ingenieursburo Office Automation)      web. http://eboa.com/


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?39567CCE.FE050168>