Hi Paul,
I'm curious.
It sounds like what you are talking about is the mail forwarding control
solution. Since it remembers that you logged in for 30 minutes, where's the
problem?
I'm asking because I got a similar situation. I use fetchmail to bring in
mail to our inhouse mailserver (via a secure VPN), and the ISP for sending. I
could send directly from inside but I want to keep a low profile. Anyhow,
since fetchmail picks up mail every two minutes we never get close to the
timout for sending so I don't need to do anything.
Steve Szmidt
On Saturday 03 November 2001 08:42, you wrote:
> On Sat, 3 Nov 2001, Paul M Foster wrote:
> > 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?
>
> Something like this might work:
>
> #!/bin/sh -e
> fetchmail -c
> cat | sendmail $*
> exit 0
>
>
> Paul Braman
> aeon@tampabay.rr.com
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:42:59 EDT