Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just gone live with a new Postfix mail server, sat in front of an Exchange box for inbound mail only.

It's set up to reject email for unknown recipients, which works fine, but I want to get a log of exactly what destination email addresses have been rejected, just to be sure no domains/recipients have been missed.

I've had a Google but come up blank. Is there a decent simple way to do this?


share|improve this question
up vote 6 down vote accepted is a great application to parse and produce statistics from postfix log files.

share|improve this answer
Just what I needed - thanks very much. – tomfanning Jun 5 '09 at 11:11
Use it on 2 x MX Proxy servers (similar to your config) and has a number of good knob defaults (I mostly use the daily summary log.) p.s. Postfix works well as an outgoing proxy as well as the incoming that you're using it for now. – samt Jul 4 '09 at 13:59

there are few tools that might help -

but the first step would be to check mail log, /var/log/mail.log or in similar directory, depending on how you have configured it and there you should see NOQUEUE: reject: lines with the information you need.

good luck! m

share|improve this answer

Try this : quite simple..

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Mark Henderson Jul 12 '12 at 22:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.