Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm changing postfix installations from one installed years ago by people who are no longer here on an operating system which is no longer supported, and I'd like to get a sampling of real data from the existing postfix installation to test the new installation.

So, is there a way to get a copy of all e-mails going through a postfix saved somewhere?

Please note that most stress test tools I found out there are not adequate for our needs, because what most needs testing is how anti-spam and anti-virus are reacting, and the stress testers I found generate random data instead of using real samples.

share|improve this question

2 Answers 2

Previously on Stackoverflow

share|improve this answer
    
Not really what I want, but I'll keep it in mind. In particular, it won't send e-mail that is being held or rejected, which are the ones most important to me. –  Daniel C. Sobral Dec 3 '10 at 20:38

Yes you can copy all mail i can give now example

If you instal in old server postfix in /home/vmail .. for example you have domains domain1.com , domain2.com , domain3.com You can copy all domains with rsync in new server with root. After that you need to change grup like that. In new server on domain /home/vmail/domain1.com you have to make this chown vmail:vmail /home/vmail/domain1.com -Rf . You need laste command becouse only vmail have permition to write and read this folder . If root is owner on this folder you cant make anything.

share|improve this answer
    
Sorry, this isn't what I'm looking for. I have an SMTP relay, and I want a copy of all mail going through it. –  Daniel C. Sobral Dec 3 '10 at 20:35

Your Answer

 
discard

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.