Sponsored Content
Top Forums Shell Programming and Scripting telnet shell script on red hat 9 cmd line only Post 302140507 by _Spare_Ribs_ on Saturday 13th of October 2007 08:04:13 AM
Old 10-13-2007
The reason why you can't find many posts on this is probably because it's a common tactic that spammers use, and the fact you mention that "batch file code would be awesome" suggests your intentions is to use your ISP mail server as a spam relay or to spoof e-mails.

Sadly you won't get any help here!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Red Hat shell

Good morning. I am using RedHat shell. when running the .out file of a program I wrote, I cannot see a terminal with the outputs. I know that the program runs, because the files to be changed are changed. how can I see the terminal (As I see it in windows)? Thanks, Ido. (2 Replies)
Discussion started by: ginodii
2 Replies

2. Linux

red hat ent 4 cron script

hi i need to put the full path of every executable i need to put on my script. on the testing you don't need it but if it's running from cron you need to put the full path of the executable or another script. what's the work around for this? Thanks. (1 Reply)
Discussion started by: itik
1 Replies

3. UNIX for Dummies Questions & Answers

script in Bash 2.05b.0(1) and 3.2.25(1) Red Hat

Hi I have this script #!/bin/bash cat status.txt | while read LINE do linija="$LINE" echo $linija echo $linija | awk '{print $1}' > temp.txt koj=`tail -1 temp.txt` echo $koj echo $linija | awk '{print $2}' > temp1.txt kolku=`tail... (7 Replies)
Discussion started by: Ruzeil
7 Replies

4. Red Hat

HELP - Resource/Performance Monitoring Script - Red Hat Enterprise Linux Server

Hi all, ------------------------- Linux OS Version/Release: ------------------------- Red Hat Enterprise Linux Server release 5.5 (Tikanga) Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I have a server that hosts 30+ Oracle... (1 Reply)
Discussion started by: newbie_01
1 Replies

5. Red Hat

Red Hat or CentOS CMD

Hello, I'm a Solaris Admin by trade and we are getting more Linux server in. I was wondering what command Red Hat uses for hardware faults? lets say you see the fault light on the server what command do you use to see what the fault is? for example the Solaris command is fmadm faulty. this... (11 Replies)
Discussion started by: bitlord
11 Replies

6. Shell Programming and Scripting

Shell scripts migration from HP-Unix 11 to Red Hat Linux

We are changing our OS from HP-Unix 11 to Linux Red Hat. We have few k- shell, c - shell and sql scripts which are currently running under HP-Unix 11. Will these scripts work on LINUX as it is? or we need to do any code changes?IS there anyone who have done this kind of migration before?Thanks for... (2 Replies)
Discussion started by: Phoenix2
2 Replies

7. Shell Programming and Scripting

Red Hat and Ubuntu shell scripting

Are basic scripts in awk or bash or perl or other shell scripting languages the same in RHEL red hat as ubuntu? (1 Reply)
Discussion started by: cmccabe
1 Replies

8. UNIX for Beginners Questions & Answers

Red Hat: Error connecting using secure shell

Hi All, I am getting below error when I try to connect with ssh. Not sure why the error is on.I am able to connect from a different login from the same server (local: rhe/home/s3>) ssh acces1@91.1.12.102 Connection closed by 91.1.12.102 (local: rhe/home/s3>) ssh redhlinx102 Connection... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies

9. UNIX for Beginners Questions & Answers

Another one line command where I'd like to determine if Ubuntu or Red Hat when running command

Hello Forum, I'm making very good progress on my report thanks to the very helpful people on this forum. I've been able to successfully create my report for my Red Hat servers. But I do have a few ubuntu servers in the mix and I'd like to capture some data from them when an ssh connection is... (8 Replies)
Discussion started by: greavette
8 Replies
Bulkmail::DummyServer(3pm)				User Contributed Perl Documentation				Bulkmail::DummyServer(3pm)

NAME
Mail::Bulkmail::DummyServer - dummy class for dummy server objects AUTHOR
Jim Thomason, jim@jimandkoka.com DESCRIPTION
Mail::Bulkmail::DummyServer is a drop in replacement for Mail::Bulkmail::Server. Sometimes you just want to test things on your end - make sure your list iterates properly, make sure your mail merge is functioning fine, make sure your logging functions are correct, whatever. And in those cases, you probably don't want to worry about futzing around with your SMTP relay and sending junk messages through it that you don't care about. Not to mention the fact that those probably will need to be inspected and deleted later. A hassle for debugging. Enter DummyServer. This is a subclass of Mail::Bulkmail::Server that behaves exactly the same except for the fact that it doesn't actually connect to a server. Instead, it sends all data that would be going to the server to a file instead. This file should be specified in the conf file. #in your conf file define package Mail::Bulkmail::DummyServer dummy_file = ./my.dummy.file Now, instead of sending commands to your SMTP relay, they'll get sent to ./my.dummy.file for easy inspection at a later date. CLASS ATTRIBUTES
dummy_file Stores the dummy_file that you want to output your data to. METHODS
connect "connects" to your DummyServer. Actually, internally it ties a filehandle onto this package. Yes, this thing has a (minimal) implementation of a tied handle class to accomplish this feat. This method is known to return MBDu001 - server won't say EHLO disconnect overloaded disconnect method. Wipes out the internal socket as usual, but doesn't try to say RSET or QUIT to the server. disconnect can also disconnect quietly, i.e., it won't try to issue a RSET and then quit before closing the socket. $server->disconnect(); #issues RSET and quit $server->disconnect('quietly'); #issues nothing SEE ALSO
Mail::Bulkmail::Server COPYRIGHT (again) Copyright and (c) 2003 James A Thomason III (jim@jimandkoka.com). All rights reserved. Mail::Bulkmail::DummyServer is distributed under the terms of the Perl Artistic License. CONTACT INFO
So you don't have to scroll all the way back to the top, I'm Jim Thomason (jim@jimandkoka.com) and feedback is appreciated. Bug reports/suggestions/questions/etc. Hell, drop me a line to let me know that you're using the module and that it's made your life easier. :-) perl v5.8.8 2008-03-04 Bulkmail::DummyServer(3pm)
All times are GMT -4. The time now is 08:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy