LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-26-2008, 09:27 PM   #1
haroldpga
LQ Newbie
 
Registered: Mar 2007
Location: Athens, GA
Distribution: Fedora
Posts: 6

Rep: Reputation: 0
Sendmail - quietly drop mail to unknown users


I would like to configure sendmail to silently drop all mail sent to non-existant users on my system. Currently, the postmaster gets every mail rejection message which looks something like this:

Code:
<<< 550-Mailbox unknown.  Either there is no mailbox associated with this
<<< 550-name or you do not have authorization to see it.
<<< 550 5.1.1 User unknown
550 5.1.1 <unknownuser@somewhere.org>... User unknown
<<< 503 5.5.1 No recipients
I want to use the "discard" internal delivery method to simply drop any mail sent to unknown users. I've searched the web, but can not find what I am looking for.

Any ideas??? pointers:::

Thanks

Harold
 
Old 02-26-2008, 10:46 PM   #2
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS
Posts: 375

Rep: Reputation: 38
The "bounce" is a pretty important feature for legitimate misdirected mail. I would lean more toward a procmail filter to /dev/null the messages if it's just because they are irritating because the bounce also goes to the sender.
 
Old 02-26-2008, 11:21 PM   #3
haroldpga
LQ Newbie
 
Registered: Mar 2007
Location: Athens, GA
Distribution: Fedora
Posts: 6

Original Poster
Rep: Reputation: 0
Actually, these messages are about 99.44% SPAM and the replies just get hung in the mail queue until they either get timed out (in which case I end up with a cannot-deliver message) or I manually delete them from the /var/spool/mqueue directory. In either case, a pain in the whatever...

Hal
 
  


Reply

Tags
linux, sendmail, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop Mail for unknown locals (Postfix) mikelbeck Linux - Server 9 10-24-2007 03:43 AM
how can postfix redirect unknown users mail to postmaster LinuxLover Linux - Software 1 05-16-2006 09:54 AM
Postfix sending mail for unknown users to other server? Phaethar Linux - Software 2 03-18-2004 02:33 PM
sendmail -- Unknown users Gavin Linux - Networking 3 01-24-2002 02:03 AM
red hat sendmail - Forward unknown users kurgan70 Linux - General 3 11-30-2001 04:58 PM


All times are GMT -5. The time now is 05:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration