Using pingjs

Pingjs is a JavaScript library. It cleverly use the JavaScript’s native Image object to find the responsive time. Its example use has been provided by the author. The first “ping” to your target server is always incorrect. It counts the DNS resolve time in, hence I implemented this API to an endless loop of ping, to provide an accurate result back to the user.
Continue reading “Using pingjs”

Make a secret copy of sent email in Postfix

I have a business need. I need to send automatically generated email from a specific business address to my customers. Postfix does not help you to save it to “Sent” mailbox. Although I have mail logs telling me that emails have been sent to the correct email addresses but I really don’t know what is being sent.

Because I setup my own mail server, this is going to be really easy. There is no need to change my business code to BCC a secret address, which is not very nice.

Continue reading “Make a secret copy of sent email in Postfix”