Postfix: smtp-sink

From OnnoWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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