#!/bin/bash # # Calls system/bin/mail-send, and redirects standard output to zelea.log. # # This is a wrapper for the use of Mutt. # Mutt ignores I/O redirection symbols, so I put them here where they can't be ignored. # Assign this script to Mutt configuration variable 'sendmail'. # # There is no need to redirect standard error; # provided mail-send fails with an exit code, Mutt will display error messages. # But mail-send must print warnings that do not result in failure to standard out (and hence to log) # or Mutt user will not see them. # /home/mike/system/bin/mail-send >>/tmp/zelea_log