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

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

(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

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

Reply via email to