Binand Raj S. [Fri Jan 25, 2002 at 11:56:00AM +0530]:
> On Friday 25 January 2002 11:41 am, Dr . Sharukh K . R . Pavri . wrote:
> > What I want to know is how can I automate that sendmail -q should only
> > *after* fetchmail has done ?
> 
> One thing you can do is, have in your ip-up.local (assuming your POP
> server is pop.myisp.com, as is entered in your .fetchmailrc):
> 
> if fetchmail -c pop.myisp.com ; then
>    fetchmail -v -d 300 # No need for &, since -d goes into backgroud 
>                                   # automatically
> fi
> sendmail -q

Okay, tried this and it works *beautifully* muchas gracias Binand. 

But the second instance of fetchmail is not being called if I add a -e50
to the fetchmail being called second.  I am getting a message enumerating
the number of messages on the server and then fetchmail just seems to
stop.

Sendmail is called and the queued mails are sent. Any way that I can also
use the -e50 flag with this arrangement ? It's really helpful on a dial
up. My fetchmailrc already has a line saying set daemon 300, can I then
knock off the -d flag and use -e50 ?

ps -ax doesn't show fetchmail if I have specified the -e50.

regards,

Sharukh.
-- 
Dr. Sharukh K. R. Pavri
Mumbai, India.

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

Reply via email to