LinuxQuestions.org
Visit Jeremy's Blog.
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 06-10-2014, 12:56 PM   #1
rubanek
LQ Newbie
 
Registered: Apr 2008
Location: MD
Distribution: CentOS, Fedora
Posts: 23
Blog Entries: 1

Rep: Reputation: 1
I want to save emails that postfix is removing due to a 550 response


On of my postfix servers is getting a lot of 550 responses from it's downstream relay and I want to see the contents of the email that is being sent to help me find its origin.

Code:
Jun 10 13:48:22 members postfix/cleanup[2161]: BF7312382A: message-id=<20140610174822.BF7312382A@members.aws>
Jun 10 13:48:22 members postfix/qmgr[6184]: BF7312382A: from=<donotreply@example.com>, size=44121, nrcpt=1 (queue active)
Jun 10 13:48:22 members postfix/bounce[2164]: B84452382D: sender non-delivery notification: BF7312382A
Jun 10 13:48:22 members postfix/smtp[2162]: BF7312382A: to=<donotreply@example.com>, relay=clavin.aws[10.112.240.101]:25, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (host clavin.aws[10.112.240.101] said: 550 5.1.1 <donotreply@example.com>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command))
Jun 10 13:48:22 members postfix/bounce[2164]: BF7312382A: sender non-delivery notification: C45122382D
Jun 10 13:48:22 members postfix/qmgr[6184]: BF7312382A: removed
I want to retain email message C45122382D within the mail queue so I can look at it and possible discern its origin. How can I tell postfix not to remove bounced emails but rather defer them so I can review them?

Thanks.
 
Old 06-10-2014, 01:02 PM   #2
rubanek
LQ Newbie
 
Registered: Apr 2008
Location: MD
Distribution: CentOS, Fedora
Posts: 23

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Nevermind. Solved my own question (rather quickly too). Sorry for gumming up the forums.

The answer was to set the soft_bounce directive within the main.cf configuration file:

soft_bounce = yes
 
1 members found this post helpful.
  


Reply

Tags
postfix


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
Postfix wont send emails to Hotmail (CentOS 5, rejected due to policy reasons) iLinx Linux - Server 2 08-05-2010 12:08 PM
Postfix bounces everything, error 550 RileyTheWiley Linux - Networking 1 09-12-2009 03:23 PM
550 5.7.1 Postfix:Access denied. IP name lookup failed Niceman2005 Linux - Software 4 09-12-2007 06:46 AM
LXer: Report: Use ODF, Save 550 Million LXer Syndicated Linux News 0 09-02-2006 07:54 AM
postfix send error 550 jimieee Linux - Software 2 09-18-2003 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:14 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
Open Source Consulting | Domain Registration