Re: Can I keep users from receiving mail from the Internet?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-12-08 at 10:54, Fedora wrote:
> I'm using sendmail as the MTA and I would like to make it impossible for
> certain users (root comes to mind, but there are other userids as well) to
> receive email from the Internet.
> 
> I'd like to "block" it, as opposed to having some sort of filter throw it
> away after it's arrived.  Ideally, these few userids would appear to be
> invalid to anyone outside my network.
> 
> On the other hand ... I do need for all users to be able to receive email
> "internally" (i.e., from localhost).
> 
> In my case, spammers have discovered that there is <gasp!> a "root" user
> that they can send email to.
> 
> Any thoughts?

I believe you can do this via the access file.  Just be careful, test it
for local users access, you could block email for a user from all
sources.

An entry something like:

To:root@xxxxxxxxxxxxxx   error:5.7.0:550 Address invalid

May do the trick.  What I am not 100% sure of is if this will block
local email sent to root which you don't want to do.  

   
-- 
Scot L. Harris
webid@xxxxxxxxxx

"I'd love to go out with you, but the man on television told me to say tuned." 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux