Local/RFC mail address are aliased in the following way:

  • mailer-daemon: postmaster@magma-soft.at
  • root: sysadmin-$(hostname)@magma-soft.at
  • nobody, hostmaster, usenet, news, webmaster, www, ftp, abuse, noc, security: root

?shnippet for use with qmail:

sudo -i

DOMAIN=magma-soft.at

cd ~alias
echo postmaster@$DOMAIN > .qmail-mailer-daemon
echo sysadmin-$(hostname)@$DOMAIN > .qmail-root
for a in nobody hostmaster usenet news webmaster www ftp abuse noc; do
    ln -s .qmail-root .qmail-$a
done

exit