I also run linux-counter shell script, which wants to email statistics every
month. Unfortunately, it uses /bin/mail, which does route through Sendmail,
and as such my connection to the recipient is rejected on the receiving end
(dynamic IP address).
Question - having read through Jerry Peek's book, I'm still confused on how
to create a file that has a complete email message through nmh via a cron
job. It is apparently possible, but I've yet to master the necessary
options. I would have thought something like:
$ comp -use -file /tmp/filename -noedit -noprompt
would have worked. But Jerry's book mentions creating a new push command
that is linked to send, so that one can use -whatnowproc push... So far
I've been unsuccessful in following how to do that.
jerry
--
// Jerry Heyman | "It's not a 'right' if someone else
// Amiga Forever :-) | has to pay for it" - Ayn Rand
\\ // heymanj at acm dot org |
\X/ http://www.hobbeshollow.com
and the easiest way to send it is
send drafts/whatever
e.g.
x=`mhpath +drafts new`
cp file $x
send drafts/`basename $x`
Alan,
This is what I was looking for - appears to be exactly what I wanted.
Thanks!