Re: disabling certain users from receiving external e-mail messages
- From: bellutta@xxxxxxxxx
- Date: 17 Jul 2006 09:04:28 -0700
Steve Ackman wrote:
To rephrase: I want to have some users to be able to receive messages
that are local, and only a specific set of users be able to receive
messages from any other hosts.
I want to do it in a way so that from the outside world these users do
not exist:
----- The following addresses had permanent fatal errors -----
<user@domain>
(reason: 550 5.1.1 <user@domain>... User unknown)
----- Transcript of session follows -----
... while talking to domain.:
<<< 550 5.1.1 <user@domain>... User unknownDATA
550 5.1.1 <user@domain>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)
Put the appropriate entry into your access file. It'll
most likely be at /etc/mail/access.
The first few lines of that file will give you the location
of the pertinent README file. There'll also probably be a
few example lines.
Thanks, but I was not able to find a good combination of entries!
What I really would like to have in the access file is something like:
FROM:(not(mydomain)) TO:user REJECT
I tried
user REJECT (but also user@mydomain or TO:user@mydomain)
FROM:mydomain TO: user@mydomain OK
but that rejected both local and outside messgaes to user. Any hint?
Paolo
.
- References:
- disabling certain users from receiving external e-mail messages
- From: bellutta
- Re: disabling certain users from receiving external e-mail messages
- From: Steve Ackman
- disabling certain users from receiving external e-mail messages
- Prev by Date: newbie question: disabling the write behind cache
- Next by Date: Re: newbie question: disabling the write behind cache
- Previous by thread: Re: disabling certain users from receiving external e-mail messages
- Next by thread: Skype
- Index(es):
Relevant Pages
|