1 2 3 4 5 6 7
#! /usr/bin/env sh ## pass all params to msmtpq & redirect output msmtpq \ "$@" >> ~/tmp/msmtp.log 2> ~/tmp/msmtp.err exit 0