On Wednesday 27 February 2002 05:31 pm, Binand Raj S. wrote:
> On Wednesday 27 February 2002 4:03 am, Yashpal Nagar wrote:
> > I want one utility running on ONLINE server which will connect to my GW
> > m/c if mails comes to that mailbox ...
> > Rather than leting the G/w machine to run fetchmail every time
> > irrespective of mails on ONLINE server or not.
>
> How does it matter which machine initiates the TCP connection? I had posted
> a solution a few weeks before. Run fetchmail on the g/w machine from a
> script as:
>
> if fetchmail -c server.name; then
>    fetchmail -a server.name
> fi

Yes Binand, This approach seems to be good that first it will check whether 
mail is present there if yes then fetches ortherwise not.
Let me write my script i will get back to you.

>
> Or, if your online machine knows how to find your g/w machine, then run
> fetchmail on your gateway as:
>
> fetchmail --proto etrn server.name

presently my m/c is inside LAN i don't have real IP for it ;)

>
> (Won't work if the online server doesn't queue mails for you; ie, if it
> delivers the mails locally to a catch all mailbox).
>
> Binand
>

Regards
-Yash

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

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

Reply via email to