A few quick notes on mailwrapper.

Here’s the idea behind mailwrapper, folks. I hope you’re familar enough with UNIX to understand this. ;)

18:04 [macoontosh] ~/%grep newaliases /etc/mail/mailer.conf
  1. newaliases /usr/sbin/sendmail.real newaliases /usr/sbin/ssmtp 18:04 [macoontosh] ~/%ls -l /usr/bin/newaliases lrwxr-xr-x 1 root wheel 21 May 26 17:44 /usr/bin/newaliases -> /usr/sbin/mailwrapper 18:04 [macoontosh] ~/%newaliases newaliases: Aliases are not used in sSMTP 18:04 [macoontosh] ~/%

    You define the command to be executed for the wrapped name in ‘mailer.conf’, then you setup the symlink, and finally, test it. Note that a hash mark at the beginning of a statement denotes the line as a comment.

    Easy, huh?