On Tue, Feb 01, 2000 at 04:15:37PM +0100, Bernd Jedamzik wrote:
At 10:56 21.02.00 +0100, you wrote:
I am using sendmail out off SuSE-Linux 6.3. Is there a way to restrict the access to a local user's mailbox (e.g. john.doe@domain.edu)? The user should still be able to receive local mail (form everyone in domain.edu) but not mail from outside the whole net. john.doe@domain.edu error:nouser User unknown
note: mail to "john.doe@1.2.3.4" (put in your IP) will reach him too, even
from outside.
2. Perhaps you can write a little filter and put it in the /etc/aliases. Don't know. Someone any ideas?
Afair you should be able to run the filter like some mailing list server. I can't remember how this was done exactly --- must have been called a progmailer ... Was it configured in the sendmail config file? (I'm using qmail since some time.) The filter will automatically be called by sendmail on receiving mail for your particular user and can read the mail from stdin. This is what some mailing list servers do. The filter would have to reliably decide about the origin of the mail (how?) and have to take appropriate actions. Such a filter can come along with its own security problems. GH -- Nieder mit der Mineralölsteuer!! Senkt die Benzinpreise!!