How do I open a connection to a remote IP (like a mailserver) in BASH
I like to be able to communicate to a SMTP on a remote mailserver in BASH, but how do I do this. Thanks in advance Bo Jacobsen
* Bo Jacobsen
I like to be able to communicate to a SMTP on a remote mailserver in BASH, but how do I do this. telnet hostname 25 or use perl, or expect , or ....
Kind regards, -- Gerhard den Hollander Phone :+31-10.280.1515 ICT manager Direct:+31-10.280.1539 Fugro-Jason Fax :+31-10.280.1511 gdenhollander@Fugro-Jason.com POBox 1573 visit us at http://www.Fugro-Jason.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged.
* Bo Jacobsen
(Fri, Nov 14, 2003 at 10:10:04AM +0100) I like to be able to communicate to a SMTP on a remote mailserver in BASH, but how do I do this. telnet hostname 25 or use perl, or expect , or ....
Kind regards, -- Gerhard den Hollander Phone :+31-10.280.1515 ICT manager Direct:+31-10.280.1539 Fugro-Jason Fax :+31-10.280.1511 gdenhollander@Fugro-Jason.com POBox 1573 visit us at http://www.Fugro-Jason.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged.
Sorry for not beeing specific enough. What I like is making the connection rectly, not through another program like telnet. I have read something about /dev/tcp/host/port but have not yet figured out how to use it.are not Bo
participants (2)
-
Bo Jacobsen
-
Gerhard den Hollander