On Sun, Feb 08, 2004 at 07:59:32AM +0330, alikhani wrote: > I have an alise that want only a specific user can mail to this alise > ant the other can't . > How can I do it?
You need to configure a mailing list manager such as mailman or LISTSERV, or write a short program that checks the From: line and rejects or swallows the message and have the alias call that program. The basic alias function has no support for limiting who can send to a alias. Of the two options, the mailing list manager one is much more powerful, and you are likely to have other demands for mailing lists, so it's probably worth the effort to do this rather than a simple script. Which one is better? That's a religious discussion. I happen to like LISTSERV, but if you want the full power of it, it costs money. I find mailman hard to configure, but I don't have the same level of experience with it (I started using LISTSERV sometime in the late 1980s, so it's quirks are familiar). mailman is open-source is pretty good as well. LISTSERV Lite is available from www.lsoft.com. Check your Linux distribution for mailman.
