Re: Spam on root
Michael Bond <[email protected]> Wed, 13 Jul 2005 11:31:18 -0400
| Newsgroups | gmane.org.user-groups.linux.morlug |
|---|---|
| Message-ID | <[email protected]> |
Well, in order to get mail from the outside world you need to have an address mapping (virtual users) ... you could take that out and you would stop getting all mail that isn't from the localhost. Not really sure why you would be wanting to receive any mail from the outside world to your root account anyway, Just system messages from localhost. Another option, if you must receive mail to root from off the box, would be to use procmail. # Put all mail from WVU into a folder :0: * ^From:.*@wvu\.edu.* /Some/Mail/Folder #Put all other mail from anywhere into /dev/null :0: * ^From:.* /dev/null Mike. [email protected] On Jul 13, 2005, at 11:11 AM, Andrei Smirnov wrote: > > I wonder if anybody knows how I can stop spam coming to my root > account? I > presume there should be options in sendmail.mc file? Restricting > mail to > root from the local domain, like wvu.edu only, or blocking it > completely > from the outside would be fine. But I want to set it only for > root, not > for the users. Any suggestions? > > Thanks, > > Andrei > > _______________________________________________ > Morlug mailing list > [email protected] > http://mailman.morlug.org/mailman/listinfo/morlug >