Sponsored Content
Full Discussion: AIX 6.1 SMTP Server ?
Operating Systems AIX AIX 6.1 SMTP Server ? Post 302327834 by garethr on Monday 22nd of June 2009 04:38:02 PM
Old 06-22-2009
I know sendmail isn't everyone's favourite, but I believe you can do everything you need using it.

Of course, if you want to serve POP3 connections or IMAP, you'll need other (free) software.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

setting SMTP server privileges

Hello I am not sure if this is the correct place for this question, and if not, please move this to the correct forum I have Linux machine that is capable of sending emails via sendmail I have another Windows machine on which I have PHP installed I would like PHP on the Windows machine to... (0 Replies)
Discussion started by: jasongr
0 Replies

2. Solaris

SMTP server-denied

im running Solaris9. sendmail version 8.13 every now and then my smtp server is being blacklisted resulting to relay denied to some of my client. what is the very first thing i have to implement? thanks (1 Reply)
Discussion started by: uwagon
1 Replies

3. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

4. AIX

SMTP Server errors

Hey everyone, I have an issue where email is working fine in our Windows environments but is blowing up in our AIX environments. Here is the related functions that are getting called: int get_smtp_line( void ) { char ch = '.'; char in_data ; char * index; int retval = 0; ... (4 Replies)
Discussion started by: ctote
4 Replies

5. AIX

Enable send email through smtp - exchange on AIX 6.1

Please help, i can not to send email from AIX 6.1 to outside network through STMP - Exchange. Any one can help ? (1 Reply)
Discussion started by: ichsan
1 Replies

6. AIX

How to turn on SMTP trace on AIX?

How to turn on SMTP trace on AIX V5? where to find the SMTP logs? (0 Replies)
Discussion started by: rainbow_bean
0 Replies

7. Ubuntu

Any way we can create an SMTP server and use any scripting language to read emails from that server

Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies

8. UNIX for Dummies Questions & Answers

Postfix as smtp server

hi guys I have to configure a SMTP server using Postfix, ok let me tell the domain is located at godaddy so my smtp postfix server has to use that domain let's say mycompany.com so anyone knows how to configure postfix using this way? or postfix is easy to configure? thanks a lot (3 Replies)
Discussion started by: karlochacon
3 Replies

9. Red Hat

External SMTP server

Hi, We current use an email/hosted exchange server (provided by 3rd party company). Our production DNS (RH5) server has got the MX rec configured for this 3rd party mail relay server. So in order to resolve hostnames to send outbound mails an A record entry is also required on the external... (1 Reply)
Discussion started by: Duffs22
1 Replies

10. Web Development

SMTP Server Configuration

Hello list, I want to be able to send email directly from my linux box. I have both a CentOS and Debian installation. I am by no means an expert when it comes to all of the SMTP servers. I have been testing different configs by installing and uninstalling sendmail, postfix, and exim4. ... (2 Replies)
Discussion started by: landossa
2 Replies
Net::Server::Mail::SMTP(3pm)				User Contributed Perl Documentation			      Net::Server::Mail::SMTP(3pm)

NAME
Net::Server::Mail::SMTP - A module to implement the SMTP protocole SYNOPSIS
use Net::Server::Mail::SMTP; 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 $smtp = new Net::Server::Mail::SMTP socket => $conn; $smtp->set_callback(RCPT => &validate_recipient); $smtp->set_callback(DATA => &queue_message); $smtp->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 SMTP (RFC 821) protocol. Notice that it don't implement the extension mechanism introduce in RFC 2821. You have to use Net::Server::Mail::ESMTP if you want this capability. This class inherit from Net::Server::Mail. Please see Net::Server::Mail for documentation of common methods. METHODS
SMTP specific methods. get_sender Returns the sender of the current session. Return undefined if the reverse path step is not complete. get_recipients Returns the list of recipients supplied by client. Returns undef if forward_path step is not engaged. Returns an empty list if not recipients succeed. EVENTS
Descriptions of callback who's can be used with set_callback method. All handle takes the Net::Server::Mail::SMTP object as first argument and specific callback's arguments. HELO Takes the hostname given as argument. Engage the reverse path step on success. sub helo_handle { my($session, $hostname) = @_; if($hostname eq 'localhost') { return(0, 553, q(I don't like this hostname, try again.)); } # don't forgot to return a success reply if you are happy with # command's value return 1; } NOOP This handler takes no argument EXPN Command not yet implemented. Handler takes address as argument. EXPN Command not implemented, deprecated by RFC 2821 Handler takes no argument. VRFY Command not yet implemented. Handler takes address as argument. HELP Command not yet implemented. Handler takes a command name as argument. MAIL Handler takes address as argument. On success, engage the forward path step and keep the given address for later use (get it with get_sender() method). RCPT Handler takes address as argument. On success, engage the mail data path step and push the given address into the recipient list for later use (get it with get_recipients() method). SEND Command not implemented. Handler takes no argument. SOML Command not implemented. Handler takes no argument. SAML Command not implemented. Handler takes no argument. DATA This handler is called after the final . sent by client. It takes data as argument in a scalar reference. You should queue the message and reply with the queue ID. DATA-INIT This handler is called before enter in the "waiting for data" step. The default success reply is a 354 code telling the client to send the mail content. DATA-PART This handler is called at each parts of mail content sent. It takes as argument a scalar reference to the part of data received. It is deprecated to change the contents of this scalar. RSET Handler takes no argument. On success, all step are initialized and sender/recipients list are flushed. QUIT Handler takes no argument. Connection is closed after this command. This behavior may change in future, you will probably be able to control the closing of connection. SEE ALSO
Please, see Net::Server::Mail, Net::Server::Mail::ESMTP 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 2008-03-17 Net::Server::Mail::SMTP(3pm)
All times are GMT -4. The time now is 04:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy