Cookies help us deliver our better services. By using our site, you agree to our use of cookies.

Debian Linux cron error: bad username (nscd and libnss-mysql)

If your system setup is based on nscd with libnss-mysql and you have setup a cron job for a database user, it might be possible to get this error in your syslog after ...

Setting up SRV records for an Office 365 domain using PowerDNS with PowerAdmin

Adding a domain to Office 365 requires adding some DNS records.

The details are explained here Cre ...

Delete messages from Postfix queue by sender address and recipient domain

Ever wanted to delete all messages from Postfix queue by sender email address and recipient domain ?

Today, I did ... and below you can find a handful script for this purpose.

Tools needed: grep, awk, mailq and postsuper.


In a hu ...

Speed up PHP mail() with sendmail's background delivery

By default, php mail() is using sendmail, using a 3 steps process:

  • mail() forks sendmail process
  • sendmail attempts to send message to destination server
  • sendmail returns to mail() when the message is sent

On a large batch of emails, you'll want to r ...

How to recalculate traffic and disk usage in Plesk Unix

The problem: There are some updates on client files, but the traffic and disk usage changes are not reflected in Plesk interface.

Why: Plesk counts statistics once a day (at 4:07 AM by default) with the help of the {Plesk_installation_dir}/admin/sb ...