Hi
i need to FTP files from windows to unix(sun) machine using script. what are the scripts commands i need to use to transfer files
Thanks (2 Replies)
Hi,
I have a mail server with limited space and operating system is sun solaris 8 (sparc). I do not have provisions to increase the space for home directory.
So i have to delete files from /home/username/mail/trash which are more than 10 days old automatically.
So my script should be like... (1 Reply)
I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Can anybody please tell me how to configure linux to receive snmp traps from a windows server? I am not able to receieve snmp traps on unix machines specifically linux and solaris. I have tried starting snmptrapd service on linux but it didn't work. Is there anything special that I have to do on... (2 Replies)
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Hi,
I've created a very basic script to run apt-get update and apt-get dist-upgrade unattended (run with cron) and save the logs. Though, it's not really a script, just a file containing the commands to run in order: pasteit .com/18601
I'm currently testing this and ran into some unexpected... (4 Replies)
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (0 Replies)
Discussion started by: manjusharma128
0 Replies
LEARN ABOUT DEBIAN
smtp-source
SMTP-SOURCE(1) General Commands Manual SMTP-SOURCE(1)NAME
smtp-source - multi-threaded SMTP/LMTP test generator
SYNOPSIS
smtp-source [options] [inet:]host[:port]
smtp-source [options] unix:pathname
DESCRIPTION
smtp-source connects to the named host and TCP port (default: port 25) and sends one or more messages to it, either sequentially or in par-
allel. The program speaks either SMTP (default) or LMTP. Connections can be made to UNIX-domain and IPv4 or IPv6 servers. IPv4 and IPv6
are the default.
Note: this is an unsupported test program. No attempt is made to maintain compatibility between successive versions.
Arguments:
-4 Connect to the server with IPv4. This option has no effect when Postfix is built without IPv6 support.
-6 Connect to the server with IPv6. This option is not available when Postfix is built without IPv6 support.
-A Don't abort when the server sends something other than the expected positive reply code.
-c Display a running counter that is incremented each time an SMTP DATA command completes.
-C count
When a host sends RESET instead of SYN|ACK, try count times before giving up. The default count is 1. Specify a larger count in
order to work around a problem with TCP/IP stacks that send RESET when the listen queue is full.
-d Don't disconnect after sending a message; send the next message over the same connection.
-f from
Use the specified sender address (default: <foo@myhostname>).
-F file
Send the pre-formatted message header and body in the specified file, while prepending '.' before lines that begin with '.', and
while appending CRLF after each line.
-l length
Send length bytes as message payload. The length does not include message headers.
-L Speak LMTP rather than SMTP.
-m message_count
Send the specified number of messages (default: 1).
-M myhostname
Use the specified hostname or [address] in the HELO command and in the default sender and recipient addresses, instead of the
machine hostname.
-N Prepend a non-repeating sequence number to each recipient address. This avoids the artificial 100% hit rate in the resolve and re-
write client caches and exercises the trivial-rewrite daemon, better approximating Postfix performance under real-life work-loads.
-o Old mode: don't send HELO, and don't send message headers.
-r recipient_count
Send the specified number of recipients per transaction (default: 1). Recipient names are generated by prepending a number to the
recipient address.
-R interval
Wait for a random period of time 0 <= n <= interval between messages. Suspending one thread does not affect other delivery threads.
-s session_count
Run the specified number of SMTP sessions in parallel (default: 1).
-S subject
Send mail with the named subject line (default: none).
-t to Use the specified recipient address (default: <foo@myhostname>).
-T windowsize
Override the default TCP window size. To work around broken TCP window scaling implementations, specify a value > 0 and < 65536.
-v Make the program more verbose, for debugging purposes.
-w interval
Wait a fixed time between messages. Suspending one thread does not affect other delivery threads.
[inet:]host[:port]
Connect via TCP to host host, port port. The default port is smtp.
unix:pathname
Connect to the UNIX-domain socket at pathname.
BUGS
No SMTP command pipelining support.
SEE ALSO smtp-sink(1), SMTP/LMTP message dump
LICENSE
The Secure Mailer license must be distributed with this software.
AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
SMTP-SOURCE(1)