Re: (HOWTO) Deleting Microsoft spams on POP3 server

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 12/28/03


Date: Sun, 28 Dec 2003 22:28:41 GMT

On 28 Dec 2003 21:51:52 GMT, Chris F.A. Johnson <c.fa.johnson@rogers.com> wrote:
>
>
> On Sun, 28 Dec 2003 at 21:28 GMT, Alan Connor wrote:
>> On 28 Dec 2003 12:09:18 GMT, William Park <opengeometry@yahoo.ca> wrote:
>>>
>>>
>>> In <comp.unix.shell> Alan Connor <zzzzzz@xxx.yyy> wrote:
>>>> Nice script. Have you considered using netcat (nc) instead of perl?
>>>> Same basic script but netcat is a fraction of the size of perl and
>>>> faster, because it is so small and specialized. (nc 17.5kb) A LOT less
>>>> system overhead.
>>>
>>> It's not Perl. It's shell script.
>>>
>>> --
>>> William Park, Open Geometry Consulting, <opengeometry@yahoo.ca>
>>> Linux solution for data management and processing.
>>
>>
>> Sorry William. I just saw "send" and recognized it as a perl thing.
>>
>> Great script.
>>
>> The only problem I am having is that there is no /dev/tcp on Linux.
>
> I've ben using something similar on a Linux system for several
> months without any problem, and I know William uses Linux.
>
> man bash:
>
> Bash handles several filenames specially when they are used in redirec-
> tions, as described in the following table:
> .........
> /dev/tcp/host/port
> If host is a valid hostname or Internet address, and port
> is an integer port number or service name, bash attempts
> to open a TCP connection to the corresponding socket.
>
>
>

That is just awesome!

Thanks very much, Chris.

I grepped through /dev and tried to create the file with MAKEDEV and
grepped through <kernel_sources>/Documentation/Devices.txt and couldn't
find a clue.

(better save this with the script)

AC



Relevant Pages

  • ssh/scp
    ... I need to copy a bunch of files from a linux system to another linux system ... Afterwards I need to start a script on the destination system ... However since this all needs to be done through a script I need some way to ... host using plink. ...
    (alt.linux)
  • Re: [SLE] DVDs 4U (Was: "Disappointed in 9.3")
    ... >I hate to ask this, but you are running this on a Linux system, right? ... >coming out of the perl stage of that script. ...
    (SuSE)
  • Re: Tips, Tricks and favorites
    ... You must specify a file name. ... $ echo womin aks about mase|ispell ... Ispell compatibility script for Aspell. ... ("dude" being my Linux system) ...
    (comp.os.linux.misc)
  • Re: Linux clean up script
    ... > I couldn't find any programm that check the integrity of a linux system, ... > Goals are: ... > Note that the script doesn't modify/erase anything. ... You might want to benchmark this, but you also have the option of using ...
    (linux.redhat)
  • Re: Reverse numerotation of files !
    ... > I tested your new script, but now i only works for the first file and not ... William Allen ... Free interactive Batch Course http://www.allenware.com/icsw/icswidx.htm ...
    (microsoft.public.win2000.cmdprompt.admin)