1

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

jpou
  • 11
  • 1

2 Answers2

2

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

joschi
  • 21,387
  • 3
  • 47
  • 50
  • +1 for always_bcc. Been using it with no problems and no noticeable extra load to the server. – David Jan 06 '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 06 '10 at 23:23
0

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

Maxwell
  • 5,076
  • 1
  • 26
  • 31