Sponsored Content
Operating Systems Solaris sendmail problem on Solaris 10 Post 302108294 by jumadhiya on Monday 26th of February 2007 02:13:20 AM
Old 02-26-2007
Hi Sysgate,

When I try to send mail using verbose mode, it gives me following output.

ppidn:/etc/mail]mailx -v nikhil.verma@timesgroup.com
Subject: Test Mail

This is a test mail...!!!
EOT
ppidn:/etc/mail]nikhil.verma@timesgroup.com... Connecting to smtp.timesgroup.com. via relay...
220 smtp2.timesgroup.com ESMTP Postfix
>>> EHLO timesgroup.com
250-smtp2.timesgroup.com
250-SIZE 5242880
250-VRFY
250-ETRN
250-AUTH DIGEST-MD5 LOGIN PLAIN
250-AUTH=DIGEST-MD5 LOGIN PLAIN
250 8BITMIME
>>> MAIL From:<ppi@timesgroup.com> SIZE=98
250 Ok
>>> RCPT To:<nikhil.verma@timesgroup.com>
554 <ppi@timesgroup.com>: Sender address rejected: Access denied
>>> RSET
250 Ok
/PPI/media/ppi/dead.letter... Saved message in /PPI/media/ppi/dead.letter
Closing connection to smtp.timesgroup.com.
>>> QUIT
221 Bye

ppidn:/etc/mail]

What could be the problem for "Sender address rejected: Access denied" error.

Thanks & Regards,
jumadhiya.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sendmail for Solaris 2.6

How do I configure send mail to send mail to internet mail accounts. The system is on a network which has an internet net router configured. (2 Replies)
Discussion started by: stuart.tootill
2 Replies

2. Solaris

Solaris 10 - Sendmail

Hello, I just installed Solaris 10 and my sendmail works. However, when I send an email the from heading appears as 'user@serverhostname.company.com'. Is there a way to remove the serverhostname so that the heading appears as 'user@company.com'. Thanks. (0 Replies)
Discussion started by: vitzit
0 Replies

3. Solaris

Problem starting Sendmail on Solaris 9

Hi, I am getting problem in starting up Sendmail on solaris. When I do /etc/init.d/sendmail start in Process list it shows sendmail process properly. But when I do portcheck by netstat it doesn't show Port 25/smtp. What could be the problem ? Thanks NeeleshG (6 Replies)
Discussion started by: neel.gurjar
6 Replies

4. Solaris

solaris 8/9 sendmail

Hi All, How do I make sure that sendmail outside the server is blocked? How do I make sure the port 25 is blocked on the firewall? How do I determine if port 25 is used or other ports? Thanks in advance for any commment you may add. (1 Reply)
Discussion started by: itik
1 Replies

5. Cybersecurity

How to configure sendmail in solaris 10

how to configure sendmail in solaris 10 ???? Anyone knows, pls share the documents. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies

6. Solaris

sendmail solaris 10

My mail isbeing sent via server in format of : username@host.domain and from this fails as the domain does not exist. In solaris 9 we used DMdomain which cured the problem. this does not work in solaris 10 I have tried to rebuild sendmail.cf from a new version of the .mc file and tried... (7 Replies)
Discussion started by: smcart
7 Replies

7. Solaris

solaris 8/9 sendmail stop

Hi All, I need to stop sendmail from running on boot-up. How can I do this on Solaris 8 and 9 sparc? Please help and that you in advance. (2 Replies)
Discussion started by: itik
2 Replies

8. Solaris

Solaris sendmail issue

I am trying to send mail from a Solaris 10 machine to myself. The mail will be receive by a mail server. The problem is sendmail doesn't report any errors and there is nothing in mailq output. In the logs the stat=queued. I do not receive the mail in my mailbox. I could telnet to the... (7 Replies)
Discussion started by: sundar63
7 Replies

9. Solaris

Help to configure sendmail on Solaris 10

Hello, I need help to configure sendmail on Solaris 10. I have to configure sendmail to send mail on the Internet, now works only for sending mail for local users. I'm studying several tutorials ... When I try to send a mail to an external address (eg aaaa@gmail.com) the mail is placed... (3 Replies)
Discussion started by: arfry
3 Replies

10. Solaris

sendmail issue on solaris 9

We changed relay agent in sendmail.cf and submit.cf files, and restarted the send mail services from init.d, able to see the sendmail processes. But unable to send an email. Relay agent is telnetable with port 25. Please help us with the issue (2 Replies)
Discussion started by: sudhakar110
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 11:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy