The error Fatal error: Call to undefined function curl_init() means your script tried to make an outbound HTTP request, but the cURL extension isn’t installed or enabled in PHP.

On shared hosting, enabling cURL is usually a single checkbox in your hosting panel (PHP Version / Extensions) or a quick support ticket. If you manage your own VPS or server, here are the exact commands for each platform.
Read full article →
Question: How do I make an echo test in Asterisk?
Answer: to play back what the caller says (the echo), Asterisk has the Echo() application.

Read full article →
If emails get stuck in your mail server queue (Exim or Sendmail) with the log message lowest numbered MX record points to local host – or the equivalent mail for example.com loops back to myself in Postfix – your mail transfer agent has hit a mail routing loop.

The message means exactly what it says: DNS reports that the highest-priority (lowest-numbered preference) MX record for the destination domain points to your own server’s IP address, yet the mail daemon does not recognize that domain as local and tries to relay the message outbound – straight back to itself.
Read full article →
When a mail server sends a large batch of email, a remote recipient is temporarily unreachable, or a misbehaving script floods the MTA, Sendmail stores undelivered messages in its local queue for later retry. Usually you need to handle three tasks quickly: list the queued messages, inspect what is inside a stuck email, and purge either a single message or the entire queue safely.
Sendmail mail queue
Below are the essential commands for managing the Sendmail queue on Linux and Unix systems: listing messages with mailq and sendmail -bp, counting spool files in /var/spool/mqueue/, reading qf* and df* files, forcing delivery, and clearing the queue without corrupting active locks.
Read full article →
Problem: I removed Webmin, which had been installed for ages and never used — properly, with pkg_delete. After that, cron started sending me emails:
/usr/local/etc/webmin/cron/tempdelete.pl: not found
A few of them arrived, and it looked like they would keep coming every day. So I had to find out where the script was being run from.

In short: when Webmin was removed, it didn’t take its job out of root’s crontab. Run crontab -e as root and delete the line with tempdelete.pl — the emails will stop.
Read full article →