Axigen, A Fresh Approach for Mail Server Admins - Server Watch
Axigen, A Fresh Approach for Mail Server Admins Server Watch, CT - 11 minutes ago In a Linux/Unix universe built on a do-it-yourself (DIY) ethic, Axigen Mail Server introduces a twist: Why not let someone else do the heavy lifting? ...
I want to connect a SunOS Generic_142900-03 sun4v sparc SUNW,Netra-T2000 server carrying live traffic to my mail server so that i can forward the email on root on the server to my corporate email address. I am not too sure about the virus threat that could arise. I want a unidirectional transfer... (2 Replies)
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Hi All,
Our Linux server were rebooted 723 days before and now We have decided to reboot the server due to server performance.
Could someone advise us what is the optimal duration of a server reboot ?
Thanks for your time.
Best Regards,
Arun (2 Replies)
I have been hunting about the internet for a while not trying to find a way to connect to the internet via WiFi with Fedora Core 5 with no luck however.
I have a Netgear ADSL2+ DGB111G Router and a matching USB WiFi card (came packaged together). I have it up and running on WinXP Home SP2 fine,... (1 Reply)
Net::Server::Mail::ESMTP(3pm) User Contributed Perl Documentation Net::Server::Mail::ESMTP(3pm)NAME
Net::Server::Mail::ESMTP - A module to implement the ESMTP protocole
SYNOPSIS
use Net::Server::Mail::ESMTP;
my @local_domains = qw(example.com example.org);
my $server = new IO::Socket::INET Listen => 1, LocalPort => 25;
my $conn;
while($conn = $server->accept)
{
my $esmtp = new Net::Server::Mail::ESMTP socket => $conn;
# activate some extensions
$esmtp->register('Net::Server::Mail::ESMTP::8BITMIME');
$esmtp->register('Net::Server::Mail::ESMTP::PIPELINING');
# adding some handlers
$esmtp->set_callback(RCPT => &validate_recipient);
$esmtp->set_callback(DATA => &queue_message);
$esmtp->process();
$conn->close()
}
sub validate_recipient
{
my($session, $recipient) = @_;
my $domain;
if($recipient =~ /@(.*)>s*$/)
{
$domain = $1;
}
if(not defined $domain)
{
return(0, 513, 'Syntax error.');
}
elsif(not(grep $domain eq $_, @local_domains))
{
return(0, 554, "$recipient: Recipient address rejected: Relay access denied");
}
return(1);
}
sub queue_message
{
my($session, $data) = @_;
my $sender = $session->get_sender();
my @recipients = $session->get_recipients();
return(0, 554, 'Error: no valid recipients')
unless(@recipients);
my $msgid = add_queue($sender, @recipients, $data)
or return(0);
return(1, 250, "message queued $msgid");
}
DESCRIPTION
This class implement the ESMTP (RFC 2821) protocol.
This class inherit from Net::Server::Mail::SMTP. Please see Net::Server::Mail::SMTP for documentation of common methods.
METHODS
ESMTP specific methods.
register
Activate an ESMTP extension. This method takes a module's name as argument. This module must implement certain methods. See
Net::Server::Mail::ESMTP::Extension for more details.
EVENTS
Descriptions of callback who's can be used with set_callback method. All handle takes the Net::Server::Mail::ESMTP object as first argument
and specific callback's arguments.
EHLO
Takes the hostname given as argument. Engage the reverse path step on success. RFC 2821 require thats EHLO command return the list of
supported extension. Default success reply implement this, so it is deprecated to override this reply.
You can rebuild extension list with get_extensions() method.
Exemple:
my @extends;
foreach my $extend ($esmtp->get_extensions())
{
push(@extends, join(' ', $extend->keyword(), $extend->parameter()));
}
my $extends_string = join("
", @extends);
SEE ALSO
Please, see Net::Server::Mail, Net::Server::Mail::SMTP and Net::Server::Mail::LMTP.
AUTHOR
Olivier Poitrey <rs@rhapsodyk.net>
AVAILABILITY
Available on CPAN.
anonymous SVN repository:
svn co https://emailproject.perl.org/svn/Net-Server-Mail
SVN repository on the web:
http://emailproject.perl.org/svn/Net-Server-Mail/
BUGS
Please use CPAN system to report a bug (http://rt.cpan.org/).
LICENCE
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
COPYRIGHT
Copyright (C) 2002 - Olivier Poitrey, 2007 - Xavier Guimard
perl v5.10.0 2007-04-10 Net::Server::Mail::ESMTP(3pm)