Help - Search - Members - Calendar
Full Version: Sendmail and getting rid of email for unknown users
The Planet Forums > System Administration > Mail Hosting
davidm
I've got a server running RHEL5 and Sendmail. Is there a quick and easy way to send all email for unknown users straight in to /dev/null or somewhere else where they will never be heard from again?
alden
QUOTE (davidm @ May 7 2008, 05:59 AM) *
I've got a server running RHEL5 and Sendmail. Is there a quick and easy way to send all email for unknown users straight in to /dev/null or somewhere else where they will never be heard from again?


If you go to your /etc/mail/virtusertable, you can delete (or comment out) the last line, which should read something like: @yourdomain.com emailusername

Then restart sendmail.

Hope this helps.

--Alden
davidm
Thankyou, I'll give it a try.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.