Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 1998 08:43:15 -0500 (EST)
From:      Brian Clapper <bmc@WillsCreek.COM>
To:        leifn@image.dk (Leif Neland)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail Question
Message-ID:  <199801171343.IAA03928@current.willscreek.com>
In-Reply-To: <c5e_9801170209@swimsuit.swimsuit.roskildebc.dk>
References:  <Pine.UW2.3.95.980115100721.614C-100000@cedb> <c5e_9801170209@swimsuit.swimsuit.roskildebc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 January, 1998, at 01:51 (+0100)
Leif Neland <leifn@image.dk> wrote:

> At 15 Jan 98 19:11:33 Dan Busarow wrote regarding Re: sendmail Question
>
>  DB> From memory a cron entry like
>  DB>
>  DB> */15 * * * * telnet your.isp smtp;echo ehlo your.domain;echo
>  DB> etrn @your.domain;         sleep 5; echo quit
>  DB>
>  DB> should connect and have your ISP send all your mail.
>
> I don't think so. But you _will_ get lots of mail. Containing the lines ehlo
> your.domain, etrn @your.domain, quit.
>
> You need to feed this into telnet, including the sleep; not a straightforward
> thing.

The netcat (`nc') utility is far better suited for this sort of thing than
telnet.  See the ports collection.
-----
Brian Clapper, bmc@WillsCreek.COM, http://WWW.WillsCreek.COM/
The human mind ordinarily operates at only ten percent of its capacity;
the rest is overhead for the operating system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801171343.IAA03928>