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