[SLUG] Bash Assist

From: Paul M Foster (paulf@quillandmouse.com)
Date: Sat Nov 03 2001 - 02:17:04 EST


I have a situation where, in order for sendmail to connect to my ISP's
smarthost, I have to connect to the pop server first (don't ask). I'd
like to put together a script that does:

fetchmail -c
sendmail ...

I would be piping the mail into the script. I need a way to get the
sendmail part of the script to suck up the stuff that's on the pipe, but
I don't know how to make the script do this. Anyone know?

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:41:09 EDT