LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-29-2006, 06:46 AM   #1
amushtaq
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Rep: Reputation: 0
how to stop "Returned Mail" messages from sendmail


is there a way i can stop sendmail to generate error reports, addressed to the sender, for mail messages which can't be delivered.
 
Old 03-29-2006, 06:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,777
Blog Entries: 54

Rep: Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977
is there a way i can stop sendmail to generate error reports, addressed to the sender, for mail messages which can't be delivered.
Probably the answer is yes, but you must not do that, or you'll break expected behaviour. If verifying addresses before or during sending wont work, and if you don't want to see those return messages add a recipe to the MDA's procmail to reroute those emails to a different user/mailbox. Of course you can deliver to mailbox /dev/null, but you'll forget that. Later on when "important" email is lost you've got no clue except reading the maillog.
 
Old 03-29-2006, 08:00 AM   #3
amushtaq
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
thanks for the reply. I agree that "delivery failure receipts" are important but i want them only delivered to the postmaster and not the original sender. Also please tell me how can i cofigure a particular user to be postmaster.
 
Old 03-29-2006, 06:37 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,777
Blog Entries: 54

Rep: Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977Reputation: 2977
Just make postmaster point to the accountname of an existing user or a file to deliver to in /etc/(mail/)aliases. Dont forget to run "newaliases" after making changes and restart Sendmail.
 
  


Reply


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
Passing groupadd to execv() returned error msg: "file already locked." walwali Programming 9 11-22-2010 07:36 AM
How to stop the redhat sending me e-mail called "LogWatch" automatically? chuanweizuo Red Hat 2 03-08-2005 10:19 AM
Configuring Sendmail to save "Sent Messages"? provo1234 Linux - Networking 1 01-08-2005 03:10 AM
JBuilder install cancels - "No message error returned" bpatters Linux - Software 0 04-02-2004 02:57 PM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 01:18 AM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
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