[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Email



I wrote a script to get and send my email through my dialup connection.
First it does a sendmail -q (actually I'm  using Postfix) then it does a
fetchmail then shuts down the ppp connection.  The problem I'm having is
that if I have more emails going out than coming in it shuts down before the
emails have gone out.

I'm looking for a way to either delay the start of fetchmail until all the
outgoing has been delivered or leave it the way it is and only shut down the
ppp when both Fetchmail and Postfix are done.

To clarify - Postfix runs in background allowing Fetchmail to start as soon
as Postfix has started.  Fetchmail isn't running in background so it doesn't
go to the next step until Fetchmail is done.

Thanks

Brad





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]