On Fri, 25 Jan 2002, Dr . Sharukh K . R . Pavri . wrote:

 |Anyway, previously I had the following in my /etc/ppp/ip-up.local
 |----------------------
 |fetchmail -v &
 |sendmail -q
 |wait
 |---------------------
 |
 |(from pcq). Now with this pop before smtp business I have had to make
 |ip-up.local non-executable and manually run sedmail -q after fetchmail has
 |run.
 |
 |What I want to know is how can I automate that sendmail -q should only
 |*after* fetchmail has done ?

 ----------------------
 fetchmail -v &
 sleep 60
 sendmail -q
 ---------------------

the value 60 is a safe one ... because in my quest for a pop before smtp
solution I came across many really weird ones including one that is run
every minute via cron !!

If you have good implementation then you can even reduce the sleep period
to 10-15 seconds.

SMTP relaying can start as soon as you have authenticated yourself .. it's
not necessary that you have pulled all your mails down.

Kingsly


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to