Untuk mengetahui statistik email diterima/dikirim di Postfix, bisa menggunakan script pflogsumm. Saat ini versi terbaru adalah pflogsumm-1.1.3
wget http://jimsun.linxnet.com/downloads/pflogsumm-1.1.3.tar.gz
ekstrak file pflogsumm-1.1.3.tar.gz
tar zxvf pflogsumm-1.1.3.tar.gz
pindah ke folder pflogsumm-1.1.3, lalu ubah file permission pflogsumm.pl biar bisa dieksekusi
chmod +x pflogsumm.pl
di Debian log Postfix disimpan di file /var/log/mail.log, untuk mendapatkan statistik mail server anda jalankan perintah
./pflogsumm.pl /var/log/mail.log
Hasil perintah diatas kurang lebih seperti
Grand Totals ------------ messages 93 received 121 delivered 0 forwarded 0 deferred 0 bounced 121 rejected (50%) 0 reject warnings 0 held 0 discarded (0%) 72703k bytes received 73235k bytes delivered 59 senders 26 sending hosts/domains 31 recipients 8 recipient hosts/domains Per-Day Traffic Summary ----------------------- date received delivered deferred bounced rejected -------------------------------------------------------------------- May 18 2014 9 11 0 0 38 May 19 2014 42 63 0 0 60 May 20 2014 42 47 0 0 23