9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm unable to send email from my Linux server despite SMTP port 25 Active and Listening.
I checked the mail log ( /var/log/maillog ) and found the below error.
I'm sharing all the ".cf" files seen in the error log.
# more /etc/postfix/main.cf
# postfix... (0 Replies)
Discussion started by: mohtashims
2. Red Hat
I am trying to setup the postfix email server on Redhat Linux 6.5 running as an EC2 instance in AWS. I can do reverse port mapping to open a port
from our internal network to the AWS linux server, so we should be able to get to our mail server, even though it is a one way path from our internal ... (1 Reply)
Discussion started by: gandolf989
3. UNIX for Advanced & Expert Users
We have 2 servers, server A and Server B in same domain. I have already configured the Serevr A to send an email to the internet (outside domain) by opening the port 25 to the internet.
Now I need to send an email to the outside domain from Server B using server A. I have opened the... (1 Reply)
Discussion started by: sathishbabu89
4. UNIX for Dummies Questions & Answers
im able to install postfix on my ubuntu server. no issues. but ican't send mail.
i dont know what to put for the "relayhost". i've googled this endlessly but i'm clueless. isn't there a general smart host i can use that'll allow me to send?
i dont care for receiving mail. i just want to be... (1 Reply)
Discussion started by: SkySmart
5. Emergency UNIX and Linux Support
i have configured mail server with postfix with dovecot with no encryption:
When connecting with Thunderbird imap is working fine. when sending email from another domain to this domain again it is fine. but when i want to send mail frommy domain to another it gives me error and this is... (3 Replies)
Discussion started by: majid.merkava
6. IP Networking
Am using smtpd_recipient_restrictions & check_recipient_access in postfix.
The hash file looks like this:
The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
We have a redhat enterprise linux 4 server.we have configured postfix as our MTA.squirrel mail as webmail and apache is configured for webserver.We configured outlook as mail client.The mail server is working and our users ae saving a copy of mail in the linux server.Our problem is whenever the... (0 Replies)
Discussion started by: ramjimh
8. UNIX for Dummies Questions & Answers
I have a Postfix email server running on my MacOs x box.
I would like to customize this automatic message to portuguese language:
This is the Postfix program at host myserver.com.
I'm sorry to have to inform you that the message returned
below could not... (4 Replies)
Discussion started by: fundidor
9. UNIX for Dummies Questions & Answers
I am getting a "connection to the server has failed" error when trying send out internal email. this will be like this for maybe four hours then it will start working for no reason. then it will stop again. the only constant i have is if i reboot the server the send mail will work for about an... (1 Reply)
Discussion started by: jrblanton
Net::Server::Mail::LMTP(3pm) User Contributed Perl Documentation Net::Server::Mail::LMTP(3pm)
Net::Server::Mail::LMTP - A module to implement the LMTP protocole
my @local_domains = qw(example.com example.org);
my $server = new IO::Socket::INET Listen => 1, LocalPort => 25;
while($conn = $server->accept)
my $esmtp = new Net::Server::Mail::LMTP socket => $conn;
# adding some handlers
$esmtp->set_callback(RCPT => &validate_recipient);
$esmtp->set_callback(DATA => &queue_message);
my($session, $recipient) = @_;
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");
my($session, $data) = @_;
my $sender = $session->get_sender();
my @recipients = $session->get_recipients();
return(0, 554, 'Error: no valid recipients')
my $msgid = add_queue($sender, @recipients, $data)
return(1, 250, "message queued $msgid");
This class implement the LMTP (RFC 2033) protocol.
This class inherit from Net::Server::Mail::ESMTP. Please see Net::Server::Mail::ESMTP for documentation of common methods.
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.
Same as ESMTP EHLO, please see Net::Server::Mail::ESMTP.
Overide the default DATA event by a per recipient response. It will be called for each recipients with data (in a scalar reference) as
first argument followed by the current recipient.
Please, see Net::Server::Mail, Net::Server::Mail::SMTP and Net::Server::Mail::ESMTP.
Olivier Poitrey <firstname.lastname@example.org>
Available on CPAN.
anonymous SVN repository:
svn co https://emailproject.perl.org/svn/Net-Server-Mail
SVN repository on the web:
Please use CPAN system to report a bug (http://rt.cpan.org/).
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 (C) 2002 - Olivier Poitrey, 2007 - Xavier Guimard
perl v5.10.0 2007-04-10 Net::Server::Mail::LMTP(3pm)