disabling certain users from receiving external e-mail messages



I'm running my DNS/Mail server (sendmail) on a Fedora Core 3 box. By
default every user I
have in my /etc/passwd can send/receive e-mail messages. Is it
possible to configure sendmail so that e-mail messages that do not
originate from localhost will bounce back?

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.:
DATA
<<< 550 5.1.1 <user@domain>... User unknown
550 5.1.1 <user@domain>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)


Thanks.

Paolo

.



Relevant Pages

  • RE: Sendmail forwarding/redirects question
    ... For users of Fedora Core releases ... >> Email message sent to office system: ... >> blah, blah ... >> I restarted sendmail and sent another message - same result. ...
    (Fedora)
  • Re: Fedora core 3 breaks sendmail functionality???
    ... Fedora core 3 breaks sendmail functionality??? ... > spot where the Perl module expects it to be. ... > transmitted without the written permission of the copyright owner. ...
    (perl.beginners)
  • RE: Sendmail Question
    ... For users of Fedora Core releases ... So Sendmail sets it. ... It is mostly working, sendmail hands the mail off to UUCP, but it keeps ... apending .localdomain to the mailing address. ...
    (Fedora)
  • RE: Sendmail
    ... For users of Fedora Core releases ... Subject: Re: Sendmail ... Chris Norman wrote: ... Prev by Date: ...
    (Fedora)
  • Re: Using SMTP AUTH: What am I missing?
    ... sendmail server and send e-mail messages. ... I have my sendmail server requiring authentication on port 587, ...
    (comp.mail.sendmail)