07-24-2009
How to change SMTP or smarthost
HI,
I am new to unix .
How to change the SMTP or smarthost in SUN OS unix .
Please help me ....
thanks in advance
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone please explain me or send me a link to configure/setup SMTP on Sun Solaris server.
Thanx a lot.
Kavita (1 Reply)
Discussion started by: knarayan
1 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I am running an email server on a Linux machine. My goal is to set up in a way that I can use pop3 to retrieve mail from a Windows machine using Outlook. Now I can download the messages from the Linux email server, however I can not send out messages. I encounter this error:
... (1 Reply)
Discussion started by: vtran4270
1 Replies
3. IP Networking
I want to send e-mail from my yahoo account.
But
mail -s "title" *@yahoo.com < line.txt
is from my local address to *@yahoo.com.
How can i do this? (1 Reply)
Discussion started by: Euler04
1 Replies
4. Programming
how do you send a ".\n" in a smtp client?
>354 Send message, end with <CRLF>.<CRLF>
>.
>
i have already issued a "./n" but it doesnt work.
please help. thanks. (1 Reply)
Discussion started by: grotesque
1 Replies
5. Solaris
Hello everyone,
I've got this Java script which needs to know the SMTP host in order to send out mails from a particular mail ID. But I have no idea how or what to configure in SMTP for getting this code up and running.(All I know is SMTP=Simple Mail Transfer Protocol).
I'm using Solaris 5.8.... (1 Reply)
Discussion started by: Rajat
1 Replies
6. AIX
Hi All,
I have a unix box which is in a network with windows machine, I am able to send the mails to the user id's with in the unix box. I dont have Internet connection for this box, so I am not able to test if it can send mails to external network or not?
I want to know, if SMTP is already... (0 Replies)
Discussion started by: balu_puttaganti
0 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have a unix box which is in a network with windows machine, I am able to send the mails to the user id's with in the unix box. I dont have Internet connection for this box, so I am not able to test if it can send mails to external network or not?
I want to know, if SMTP is already... (1 Reply)
Discussion started by: balu_puttaganti
1 Replies
8. Red Hat
Hi all,
Please help to check weather the SMTP settings are configured or not on my LINUX server?
I want to send a mail to mailbox. I know that the target SMTP server has to be configured on LINUX box to do so.
How can i see weather it is configured or not?
--Ramesh Ch. (3 Replies)
Discussion started by: Raamc
3 Replies
9. Linux
HI,
I am having an issue with the mail.
I had certain scripts who used to send mails.
now i am not getting the mails as usual.
need help to track the issue and resolve.
mailx -s "Testing for details" xxx@yyy.zzz
above code is used for mailing.
can yoou please help? (2 Replies)
Discussion started by: onlyniladri
2 Replies
10. Solaris
Hello,
I am trying to configure sendmail on my Solaris Express 11 box to relay mail through a SmartHost which requires authentication.
Anyone able to setting up such a scenario? Sendmail is complaining that authinfo.m4a is missing, which to my noob understanding, is a sendmail-macro? (0 Replies)
Discussion started by: hotzen
0 Replies
LEARN ABOUT DEBIAN
net::smtp::server::relay
Server::Relay(3pm) User Contributed Perl Documentation Server::Relay(3pm)
NAME
Net::SMTP::Server::Relay - A simple relay module 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::Relay module implements simple SMTP relaying for use with the Net::SMTP::Server module. All this module does is to
take a given message and iterate through the list of recipients, doing DNS lookups for the associated MX record and delivering the
messages. This module makes extensive use of the plethora of other modules already implemented for Perl (specifically the DNS and
Net::SMTP modules in this case), and should give but a glimpse of the potential for extending the Net::SMTP::Server's functionality to
provide a full-featured SMTP server, native to Perl.
The above example illustrates the use of the Net::SMTP::Server::Relay modules -- you simply have to instantiate the module, passing along
the sender, recipients, and message. More formally:
$relay = new Net::SMTP::Server::Relay($from, @to, $msg);
Where $from is the sender, @to is an array containing the list of recipients, and $msg is the message to relay.
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::Client
perl v5.10.1 1999-12-28 Server::Relay(3pm)