Article ID: 3439, created on Nov 30, 2007, last review on May 11, 2014

  • Applies to:
  • H-Sphere

Resolution

Usually, cron uses the email address root@hostname to send system notifications. By default, qmail does local delivery of such messages because server hostname presents in /var/qmail/control/locals etc. Therefore, qmail can't do local delivery because by default, there is no Maildir folder in root's homedir. To receive the messages sent to root@hostname in your own mailbox email@address and avoid local delivery it needs to create qmail alias using the following instructions: echo "email@address" > /var/qmail/alias/.qmail-root chown alias:nofiles /var/qmail/alias/.qmail-root /etc/init.d/qmaild restart

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF