Postfix: smtp-sink

From OnnoWiki
Revision as of 17:26, 8 June 2015 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Postfix sudah menyediakan smtp-sink untuk mentest postfix dalam mengirimkan e-mail dalam jumlah besar.


Menjalankan

Pertama-tama sinkronkan waktu di kedua mesin

ntpdate pool.ntp.org


Setup SMTP listenser di port 25 (misalnya di localhost)


smtp-sink -c localhost:25 1000


Bisa menggunakan postfix untuk mengirim atau dengan smtp-source.

time smtp-source -s 20 -l 5120 -m 100 -c 100 -f sender@example.com -t recipient@example.com localhost:25
real    0m0.239s
user    0m0.000s
sys     0m0.040s


Referensi