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