Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Google fails me... Is there a way without modifying Postfix code to get copies of emails sent via smtpd server? Anything will do - text file, pipe, local socket. I just need Postfix giving me time, sender, receiver, body including attachments, if there are any.

P.S. If there is SMTP proxy that run on Linux and can do this - name of it would be greatly appreciated!

Thanks! J

share|improve this question

You could use the configuration directives always_bcc, recipient_bcc_maps or sender_bcc_maps.

share|improve this answer
+1 for always_bcc. Been using it with no problems and no noticeable extra load to the server. – David Jan 6 '10 at 17:53
+1 as well, always_bcc has worked for 2+ years for my company, Gotta love people who say they never recieved an email, when they sure did. :) – GruffTech Jan 6 '10 at 23:23

There's someting in ASSP that could fit your needs, you can forward all ham mails to one addresses and all spam mails also.

share|improve this answer

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.