9 More Discussions You Might Find Interesting
1. SCO
Hi, I'm new to this Unix world and have taken over looking after the I.T side of things at work, which includes the internal ERP system which runs on a UNIX SCO platform.
My initial worry is what state this is in as its been on site over 20 years.
What would be the first things to check on... (13 Replies)
Discussion started by: Mick_Dundee
13 Replies
2. Solaris
I have a sun fire v240 server.
The output of prtdiag -v shows a failed fan.
There are 3 fans for cooling system board.
There is 1 fan for each of the powersupply (There are 2 powersupplies)
From the below output how do i know which fan is bad and whats its location... (3 Replies)
Discussion started by: Tirmazi
3 Replies
3. SCO
Dear All
I am a newbie in this forums, I need your expertise assistant on my SCO OpenServer
I am currently facing to the BiG problems like this one:
"dspmsg: could not execute command printf: No such file or drirectory Error 2"
I supposed the file is missing, could you please check if... (4 Replies)
Discussion started by: TinhNhi
4 Replies
4. SCO
Hi,
Completely new to UNIX - so be gentle
Cut a long story short, we have a micros 8700 system (eclipse) that needs the Micros 8700 software installed.
The system needs UNIX and I have downloaded and successfully installed SCO open Server 6 and can log into root e.t.c.
Now I have... (13 Replies)
Discussion started by: kennyruss
13 Replies
5. UNIX for Dummies Questions & Answers
Hellow .
I want link download unix sco server 6.0.0.
please.
I am waiting your answer. (3 Replies)
Discussion started by: newar
3 Replies
6. SCO
Hi everyone, I am having a problem using SCO
I have used linux for years and actually learned linux command line from a unix book, but this is my first experience with sco.
I have a server that was running sco 3.04 and thoroughbred basic software. It crashed, and the only backup is on some... (0 Replies)
Discussion started by: uten
0 Replies
7. SCO
:o
I should know this but here it goes.
Can a Sco server be renamed without re-installation?
I have a client that supposedly took some networking course along
the way time ago and did sco server intallations in offices in two different states with the same name and domain. Now he wants them... (1 Reply)
Discussion started by: oguerra
1 Replies
8. SCO
Dear All,
I am considering installing SCO Open Server as an alternative to MS Exchange. Has anybody had any real world experience of using Open Office?
Thanks,
TC. (1 Reply)
Discussion started by: TCuk
1 Replies
9. SCO
Dear sir,
I am using sco open server 5.06.How we can reboot the system without using root password? Whar are the permision need to change to do this.
Thanks,
Mostafizur Rahman (3 Replies)
Discussion started by: rahmanm
3 Replies
Server::Client(3pm) User Contributed Perl Documentation Server::Client(3pm)
NAME
Net::SMTP::Server::Client - Client session handling for Net::SMTP::Server.
SYNOPSIS
use Carp;
use Net::SMTP::Server;
use Net::SMTP::Server::Client;
use Net::SMTP::Server::Relay;
$server = new Net::SMTP::Server('localhost', 25) ||
croak("Unable to handle client connection: $!
");
while($conn = $server->accept()) {
# We can perform all sorts of checks here for spammers, ACLs,
# and other useful stuff to check on a connection.
# Handle the client's connection and spawn off a new parser.
# This can/should be a fork() or a new thread,
# but for simplicity...
my $client = new Net::SMTP::Server::Client($conn) ||
croak("Unable to handle client connection: $!
");
# Process the client. This command will block until
# the connecting client completes the SMTP transaction.
$client->process || next;
# In this simple server, we're just relaying everything
# to a server. If a real server were implemented, you
# could save email to a file, or perform various other
# actions on it here.
my $relay = new Net::SMTP::Server::Relay($client->{FROM},
$client->{TO},
$client->{MSG});
}
DESCRIPTION
The Net::SMTP::Server::Client module implements all the session handling required for a Net::SMTP::Server::Client connection. The above
example demonstrates how to use Net::SMTP::Server::Client with Net::SMTP::Server to handle SMTP connections.
$client = new Net::SMTP::Server::Client($conn)
Net::SMTP::Server::Client accepts one argument that must be a handle to a connection that will be used for communication.
Once you have a new client session, simply call:
$client->process
This processes an SMTP transaction. THIS MAY APPEAR TO HANG -- ESPECIALLY IF THERE IS A LARGE AMOUNT OF DATA BEING SENT. Once this method
returns, the server will have processed an entire SMTP transaction, and is ready to continue.
Once $client->process returns, various fields have been filled in. Those are:
$client->{TO} -- This is an array containing the intended
recipients for this message. There may be
multiple recipients for any given message.
$client->{FROM} -- This is the sender of the given message.
$client->{MSG} -- The actual message data. :)
AUTHOR AND COPYRIGHT Net::SMTP::Server / SMTP::Server is Copyright(C) 1999, MacGyver (aka Habeeb J. Dihu) <macgyver@tos.net>. ALL RIGHTS
RESERVED.
You may distribute this package under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl
README file.
SEE ALSO
Net::SMTP::Server::Server, Net::SMTP::Server::Relay
perl v5.10.1 1999-12-28 Server::Client(3pm)