Date: Mon, 2 Nov 1998 09:44:02 +0000 (GMT) From: Quintin Oliver <quintin@smlt.com> To: Administrador del Sistema <admin@itacom.com.py> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: About mail and etrn parameters Message-ID: <Pine.LNX.3.96.981102093930.8926A-100000@orion.smlt.com> In-Reply-To: <199811012132.SAA11367@platon.itacom.com.py>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I have a TCL script for this: #!/usr/bin/tclsh # usage: etrn <server> <domain> set server [lindex $argv 0] set domain [lindex $argv 1] set s [socket $server smtp] fconfigure $s -buffering line fconfigure $s -translation {auto crlf} puts stderr [gets $s] puts $s "ETRN $domain" puts stderr [gets $s] puts $s "QUIT" puts stderr [gets $s] close $s So, lets say that your domain is `mydomain.com' and the machine that's storing for you is `store.isp.net' then you'd use the script like this: etrn store.isp.net mydomain.com BTW, the script wasn't written by me, it was written by a Linux guru!! :-) HTH, Quintin. On Sun, 1 Nov 1998, Administrador del Sistema wrote: > I want to download my email from my ISP > I have an MX record to wich point to my system, but my system is not permanetly > connected. > I see an example from the book The Complete FreeBSD by Greg Lehey in the > page number 468. > This example work fine, but my question is? > How i can do an script that automate this work? > i want to tell to remote system automatically when i am connected. > Thanks in advance > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.981102093930.8926A-100000>